Referential and entity integrity tests
Substantive tests that check database relationships and keys.
Entity integrity: every record has a unique, non-null primary key. Referential integrity: every foreign key matches an existing primary key, such as each order pointing to a real customer. Relational integrity checks are often enforced by the DBMS.
On the exam
Orders linked to non-existent customers = referential integrity failure. Duplicate primary keys = entity integrity failure.
Related terms
- ACID propertiesFour properties that keep database transactions reliable.
- Database controlsProtecting the integrity and security of data held in databases.
CISA Practise CISA questions on this and every other topic, each with all four options explained, in the CISA Question Hub, or take the free CISA diagnostic.
Every CISA term, this one included, is a flashcard in the CISA Flashcard Library.
Test yourself with today’s question of the day.
