这两年来,OCP的071考试不像以前那么稳定了,总是不断的有新考题出现,增加了071考试的难度,对此,我们对071考试的原题进行了收集,并由专业人员给出了答案,分享给大家。
--------------------------------------------
14.choose the best answer
View the Exhibit and examine the data in EMP and DEPT tables.
In the DEPT table, DEPTNO is the PRIMARY KEY.
In the EMP table, EMPNO is the PRIMARY KEY and DEPTNO is the FOREIGN KEY referencing
the DEPTNO column in the DEPT table.
What would be the outcome of the following statements executed in the given sequence?
DROP TABLE emp;
FLASHBACK TABLE emp TO BEFORE DROP;
INSERT INTO emp VALUES (2,'SCOTT', 10);
INSERT INTO emp VALUES (3,'KING', 55);
A) Both the INSERT statements would succeed because none of the constraints on the table are automatically retrieved when the table is flashed back.
B) Only the second INSERT statement would succeed because all the constraints except referential integrity constraints that reference other tables are retrieved automatically after the table is flashed back.
C) Both the INSERT statements would fail because all constraints are automatically retrieved when the table is flashed back.
D) Only the first INSERT statement would succeed because all the constraints except the primary key constraint are automatically retrieved after a table is flashed back.
Answer:B
(解析:除了引用其他表的引用完整性约束之外,所有约束在表被闪回之后自动恢复,已经做过实验)
--------------------------------------------
OCP解析公开课时间:【每周五晚8点】
OCP解析公开课地址:https://ke.qq.com/course/326223
OCP解析群资料分享:1015267481 验证:ocp
另外,除了OCP公开课,OCM题库直播也同步进行中,OCM最新题库大爆料-【每周四晚8点】,【微信群直播】,可以联系咨询老师进群参与