Saturday 6 June 2015

Integrity rules

In SQL we have two integrity rules:
  • Entity Integrity- states that PRIMARY KEY cannot have NULL values.
  • Referential Inntegrity- states that foreign key can be either a NULL value or should be PRIMARY KEY value of other relation

No comments:

Post a Comment