Which of the following is defined on the dependent table to implement a referential constraint?
-
Primary Key
-
Check constraint
-
Foreign Key
-
Update trigger
C
Correct answer
Explanation
A referential constraint maintains relationships between tables by ensuring that values in a foreign key column match existing values in the parent table's primary key. The foreign key is defined on the dependent (child) table and points to the primary key of the referenced (parent) table. Check constraints validate column values, while triggers perform actions in response to events, but neither implements referential integrity.