📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What does the NOT NULL constraint on a primary key enforce?

A. That the key is unique
B. That the key is a foreign key
C. That the key is numeric
D. That the key value can never be missing or unknown ✅

Correct Answer: D. That the key value can never be missing or unknown

Explanation

A primary key must always have a value, because a null cannot identify a row, so entity integrity requires NOT NULL.