Data integrity means maintaining the accuracy, consistency and reliability of data throughout its lifecycle.
An entity is a distinct, real-world object, person, place, event, or concept that you want to store information about.
Type | What It Enforces |
|---|---|
Entity Integrity | Every row in a table must represent a unique entity and cannot be duplicated or left empty. |
Referential Integrity | Relationships between linked tables must stay valid so child records never point to missing parent records. |
Domain Integrity | All values in a column must fall within an allowed format, data type or range. |