Explain the differences between entity integrity and referential integrity?

1 answer

Answer

1209979

2026-03-05 03:20

+ Follow

In databases, referential integrity refers to ensuring that every value of a relation's attribute exists as a value of another attribute in another relation. Entity integrity is a basic rule that ensures that every relation has a primary key and that this key is unique and not NULL.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.