OCP认证12c题库CUUG 071题库考试原题及答案(27)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OCP认证12c题库CUUG 071题库考试原题及答案(27)相关的知识,希望对你有一定的参考价值。
27.choose two
The SQL statements executed in a user session are as follows:
SQL> CREATE TABLE product
(pcode NUMBER(2),
pname VARCHAR2(10));
SQL> INSERT INTO product VALUES (1, ‘pen‘);
SQL> INSERT INTO product VALUES (2,‘pencil‘);
SQL> SAVEPOINT a;
SQL> UPDATE product SET pcode = 10 WHERE pcode = 1;
SQL> SAVEPOINT b;
SQL> DELETE FROM product WHERE pcode = 2;
SQL> COMMIT;
SQL> DELETE FROM product WHERE pcode=10;
SQL> ROLLBACK TO SAVEPOINT a;
Which two statements describe the consequences of issuing the ROLLBACK TO SAVE POINT a command in the session?
A) Only the second DELETE statement is rolled back.
B) No SQL statements are rolled back.
C) Both the DELETE statements and the UPDATE statement are rolled back.
D) The rollback generates an error.
E) Only the DELETE statements are rolled back.
Answer:BD
(因为 commit 操作,前面所有的保存点都结束)
以上是关于OCP认证12c题库CUUG 071题库考试原题及答案(27)的主要内容,如果未能解决你的问题,请参考以下文章
OCP认证12c题库CUUG 071题库考试原题及答案(27)
OCP认证12c题库CUUG 071题库考试原题及答案(28)
OCP认证12c题库CUUG 071题库考试原题及答案(28)
OCP题库最新CUUG OCP 12c 071考试题库(65题)