OCP换题库了,最新052考试题库及答案整理-28

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

猜你喜欢

转载自www.cnblogs.com/alice9313/p/9584336.html