📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Can entity integrity be satisfied by a UNIQUE constraint alone?

A. No, because UNIQUE allows duplicates
B. Yes, always
C. Yes, if the column is text
D. No, because UNIQUE may allow NULL in many systems ✅

Correct Answer: D. No, because UNIQUE may allow NULL in many systems

Explanation

UNIQUE alone does not guarantee a non-null identifier, so it does not fully enforce entity integrity.