Database integrity

From Wikipedia, the free encyclopedia

Database Integrity is to ensure that data entered in the database is accurate and valid. This means that if there is any rule applied to any entity, the entered data must obey that rule.

Entity integrity allows no two rows with the same identity in a table.

Domain integrity allows only predefined values, e.g.: dates.

Referential integrity allows only the consistency of values across related tables, e.g.: only IDs of registered customers

User-defined integrity allows only what you predefine

In other languages