Junior SQL

What is referential integrity in relational databases?

Referential integrity ensures that relationships between tables remain consistent.

Specifically, it guarantees that foreign keys in a table must match primary keys in another

table, or they must be NULL.

More from SQL Server Tutorial

All questions for this course