What is referential integrity in a database system?

  • Enforces the use of indexes on all tables
  • Ensures that foreign key values match the primary key values in another table
  • Ensures that primary key values are unique
  • Validates the data types of columns
Referential integrity in a database system ensures that foreign key values in one table match the primary key values in another table. This constraint maintains the consistency and accuracy of relationships between tables, preventing orphaned or invalid foreign key references.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *