Data integrity: the process of maintaining the consistency of the database.

Being able to guarantee data integrity is vital to the database.

Referential Integrity

Referential Integrity: a technique for ensuring data integrity in a referential database.

Refers to the accuracy and consistency of data within a relationship.

Enforce Cascade Delete Restraint

Associated data/relationships are deleted alongside the primary key, if/when deleted.

This must be used with caution as it may delete crucial/important/unrelated data.