Test Index

CBSE Class 12 Computer Science 2026 Paper Compartment Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 12 of 37
Marks: +1, -0
State True or False :
In SQL, the UNIQUE constraint on an attribute ensures that values in it are not left empty.
Solution:  
Concept:
UNIQUE ensures that no two rows have the same value in the column. It does not forbid empty values: a UNIQUE column can hold NULL.
Explanation:
The constraint that stops a value from being left empty is NOT NULL. (A PRIMARY KEY is both UNIQUE and NOT NULL.) So the statement is false.
Answer:
Option B (False)
© examsnet.com
Advertisements
Go to Question: