Entity Integrity vs. Referential Integrity Flashcards
1
Q
Distinguish between entity integrity and referential integrity in terms of a relational database.
A
Entity Integrity: Ensures each row has a unique identifier (primary key) and no null values in the primary key attributes.
Referential Integrity: Ensures relationships between tables are maintained, validating that foreign key values correspond to existing primary key values.
Flashcard Set B: Preventing Insertion in Terms of Integrity