网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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.


参考答案

更多 “ 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. ” 相关考题
考题 We will do our best to ( ) shipment to meet your requirements in time. A.expectB.expediteC.exerciseD.examine

考题 I think the door is locked. But I'll go and (). A、checkB、examine

考题 After __________ (examine) the lady, the doctor suggested that his back was badly hurt in the accident.

考题 检查A.expectB.exceptC.excuseD.examine

考题 Nothing in these Rules shall ______ any vessel,or the owner,master or crew thereof,from the consequences of any precaution which may be required by the ordinary practice of seaman,or by the special circumstances of the case.A.exonerateB.exhaustC.exerciseD.examine

考题 He rolled up his trouer leg to exhibit his wounded knee.A:spread B:open C:show D:examine

考题 如果Number=3,请指出下列语句的真与假。 If Number = 3, point out the truth and false of the following statements. Int(Number * Number) = Number * Number

考题 如果Number=3.5,请指出下列表达式的真假。 If Number = 3.5, point out the truth or false of the following expressions. floor(Number * Number) == Number * Number

考题 用递归函数求解斐波那契序列,在划线处填上正确语句。 int fib(number){ if (__________ || number == 2) return 1; else: return fib(number - 1) + fib(number - 2);A.number == 1B.number == 0C.number == 3D.number != 1

考题 24、如果Number=7,下列命题为真。 If Number = 7, point out the truth or false of the following expressions. Sqrt(Number*Number ) == Int(Sqrt(Number*Number))