Q1. Define RDMS.. What is referential integrity.. How does it help..
..
Q2 Is death a relief?
aryan8566:
hello
Answers
Answered by
30
Referential integrity requires that a foreign key must have a matching primary key or it must be null. This constraint is specified between two tables (parent and child); it maintains the correspondence between rows in these tables. It means the reference from a row in one table to another table must be valid.
Referential integrity is important, because it keeps you from introducing errors into your database. Suppose you have an Order Parts table like the following. Part number and order number, each foreign keys in this relation, also form the composite primary key. ... Such a situation shows a loss of referential integrity.
Answered by
34
Explanation:
Referential integrity requires that a foreign key must have a matching primary key or it must be null. This constraint is specified between two tables (parent and child); it maintains the correspondence between rows in these tables. It means the reference from a row in one table to another table must be valid.
Similar questions