Britannica AI Icon

referential integrity

computing

Quick Summary

Referential integrity is a concept in computing, specifically within database management systems (DBMS), that ensures the correctness and stability of data. It dictates that any entity referenced by another entity must exist within the database. For example, if a reservation is made for a specific flight number, that flight number must exist in the database. This prevents orphaned records and maintains the logical consistency of the data. Data integrity in general involves specifying data types for columns to ensure values are correct and stable, preventing errors like incorrect data formats or lengths.12

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.