In a Relational Database Management System (RDBMS), tables use keys (specifically primary keys) to uniquely identify each record (row). A fundamental rule is that these key attributes must always contain a value; they cannot be left empty or set to NULL.
The constraint ensuring that no primary key attribute can have a NULL value is known as Entity Integrity. This rule guarantees that each row in a table represents a unique entity that can be identified.
This constraint is crucial for maintaining the uniqueness and identify-ability of records within a database table.
The other constraints mentioned are distinct concepts:
Therefore, the constraint preventing NULL values in key attributes is Entity Integrity.
Match the following with respect to RDBMS:
A. Entity integrity | 1. Application-specific business rules beyond the general entity, domain and referential constraints |
B. Domain integrity | 2. Foreign-key values must match a referenced key, except where NULL is permitted |
C. Referential integrity | 3. Column values must satisfy the defined domain |
D. User defined integrity | 4. Primary-key values must be unique and non-NULL |