2018版OCP 11g 052最新考試題庫整理(帶答案)(28)
阿新 • • 發佈:2018-09-04
cuug ons sql exec efi commands alt because nco 28、USER1. EMP has a referential Integrity constraint defined on EMP.DNO that references USER1.DEPT.DNO.
user1 executes these commands:
SQL> UPDATE dept SET 1oc=’UK’ where dno=1;
1 row updated
SQL> UPDATE emp SET sal=1000 whore eno=100;
1 row updated
SQL> ALTER TABLE dept DROP(dno);
What will be the outcome and why?
A) It will fail because a referential Integrity constraint Is defined on USER1. EMP.
B) It will fall because there Is an uncommitted transaction on USER1. EMP.
C) It will fail because there is an uncommitted transaction on USER1. DEPT.
D) It will execute successfully and drop DEPT. DNO.
E) It will execute successfully and drop the DEPT. DNO and EMP. DNO columns.
Answer:A
北京CUUG整理,轉載請註明,OCP討論群:569933648/836361015
2018版OCP 11g 052最新考試題庫整理(帶答案)(28)