Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

referential integrity

a database integrity rule ensuring that foreign key relationships between parent and child tables remain valid and consistent.

A little more detail

Referential integrity guarantees that child rows cannot point to non-existent parent rows. The storage engine actively rejects INSERT or UPDATE statements referencing missing primary keys, and prevents deleting parent records while dependent child records still exist unless cascading rules are declared.

See it in practice

These lessons pair the idea with examples you can change and run.