Which of the following options are possible to implement referential integrity? (a) No Action (b) Set Null (c) Delete table (d) Update Cascade
Answers
Answered by
5
Primary keys always need to be unique, foreign keys need to allow non-unique values if the table is a one-to-many relationship with non unique values with key.
It is perfectly fine to use a foreign key as the primary key if the table is connected by a one-to-one relationship, not a one-to-many relationship.
Similar questions
English,
7 months ago
Math,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Physics,
1 year ago