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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly