Oracle Certificate Profession 1Z0-051-28

LuiseDalian發表於2014-05-10
(28)Which two statements are true regarding constraints? (Choose two.)

A. A foreign key cannot contain NULL values.

B. A column with the UNIQUE constraint can contain NULL values.

C. A constraint is enforced only for the INSERT operation on a table.

D. A constraint can be disabled even if the constraint column contains data.

E. All constraints can be defined at the column level as well as the table level.

答案:(B、D)

解析:

NOT NULL約束只能被定義為列級約束

如果約束是定義在多列上的,那麼只能定義為表級約束


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17013648/viewspace-1157926/,如需轉載,請註明出處,否則將追究法律責任。

相關文章