ocp題庫解析:11g-1Z0-051-v9.02-028題
最新學訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯系在線老師,甲骨文官方認證,報名從速!
我要咨詢ocp題庫解析:11g-1Z0-051-v9.02-028題,完整題庫請點擊這里聯系老師咨詢了解
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.
Answer: BD
試題解析:
A不對因為外鍵可以包含空值
C不對因為約束可以作用在INSERT,UPDATE,DELETE操作上
E不對因為NOT NULL約束只能在列級定義,不能在表級定義
B正確,唯一約束可以包含空值
D正確,即使約束列上有數據,也可以讓約束不可用。