📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is a NULL in the context of entity integrity?

A. A recommended default
B. A violation, because entity integrity forbids NULL in a primary key ✅
C. A type of foreign key
D. A valid primary key value

Correct Answer: B. A violation, because entity integrity forbids NULL in a primary key

Explanation

  • Entity integrity requires every primary key value to be present and unique.
  • A NULL primary key would violate that rule.