问题
I found the same definition for referential and relational integrity. Are they the same? I have researched the two terms separately but cannot find any good definitions.
回答1:
Yes, they are the same thing. The term "Referential Integrity" is used much more though.
Referential Integrity relates to Foreign Keys in a Relational DB. For a table to exhibit Referential Integrity, the Foreign Key must either be null or reference an existing PK value in the related table.
来源:https://stackoverflow.com/questions/23604353/are-relational-integrity-and-referential-integrity-the-same-thing