Referential Integrity refers that if one table has a Foreign Key column that refers to the Primary Key of another table must include either Null value or the value which matches the value of Primary Key Column. Foreign Key Column can’t have a value which is not present in Primary Key Column which is referred by the Foreign Key otherwise there will be an inconsistent data in the table. To Restrict this Inconsistency in the Database ,constraint of Referential Integrity comes into play.

0 Comments