欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > 计算机考试试题及答案解析

单项选择题

Examine the structure of the EMPLOYEES table:EMPLOYEE_ID NUMBER Primary KeyFIRST_NAME VARCHAR2(25)LAST_NAME VARCHAR2(25)HIRE_DATE DATEYou issue these statements:CREATE table new_emp ( employee_id NUMBER, name VARCHAR2(30));INSERT INTO new_emp SELECT employee_id , last_name from employees;Savepoint s1;UPDATE new_emp set name = UPPER(name);Savepoint s2;Delete from new_emp;Rollback to s2;Delete from new_emp where employee_id =180;UPDATE new_emp set name = ‘James‘;Rollback to s2;UPDATE new_emp set name = ‘James‘ WHERE employee_id =180;Rollback;At the end of this transaction, what is true?()
A.You have no rows in the table.
B.You have an employee with the name of James.
C.You cannot roll back to the same savepoint more than once.
D.Your last update fails to update any rows because employee ID 180 was already deleted.

    A.You
    B.
    C.You
    D.
    E.You
    F.
    G.Your
点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题