chinmay.sahoo
New member
A FOREIGN KEY constraint prevents any actions that would destroy links between tables with the Corresponding data keys. A simple way to think of a foreign key is that, essentially, it is another field which has a corresponding primary key field .
A foreign key in one table points to a primary key or unique key on another table. Foreign keys prevent actions that would change rows with foreign key values when there are no primary keys with that value. The foreign key constraints are used to enforce referential integrity
A foreign key in one table points to a primary key or unique key on another table. Foreign keys prevent actions that would change rows with foreign key values when there are no primary keys with that value. The foreign key constraints are used to enforce referential integrity