(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-1158345/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/17013648/viewspace-1158345/