SQL Flashcards

1
Q

What is referential integrity?

A

Referential integrity requires that, whenever a foreign key value is used it must be referenced a valid existing primary key in the parent table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Entity integrity?

A

Entity integrity ensures that there are no duplicate records within the table and that the field that identifies each record within the table is unique and never null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly