1Z0-007 · Question #102
Which two statements are true about constraints? (Choose two.)
The correct answer is B. A UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints. D. The NOT NULL constraint ensures that null values are not permitted for the column. B: A unique constraint can contain null values because null values cannot be compared to D: The NOT NULL constraint ensure that null value are not permitted for the column Incorrect answer: A statement is not true C statement is not true
Question
Which two statements are true about constraints? (Choose two.)
Options
- AThe UNIQUE constraint does not permit a null value for the column.
- BA UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints.
- CThe PRIMARY KEY and FOREIGN KEY constraints create a UNIQUE index.
- DThe NOT NULL constraint ensures that null values are not permitted for the column.
How the community answered
(16 responses)- A6% (1)
- B81% (13)
- C13% (2)
Explanation
B: A unique constraint can contain null values because null values cannot be compared to D: The NOT NULL constraint ensure that null value are not permitted for the column Incorrect answer: A statement is not true C statement is not true
Topics
Community Discussion
No community discussion yet for this question.