Foreign Key Harpreet Singh December 1, 2011 at 11:47 AM
FOREIGN Key: Uniquely identified a rows/records in any another database table. A foreign key is a key used to link two tables together. This is sometimes called a referencing key.
Primary key field from one table and insert it into the other table where it becomes a foreign key ie. Foreign Key is a column or a combination of columns whose values match a Primary Key in a different table.
But in practic i found that it is not compulsry that reference key must be a primary key in another table tell me why
Foreign Key Harpreet Singh December 1, 2011 at 11:47 AM
FOREIGN Key: Uniquely identified a rows/records in any another database table. A foreign key is a key used to link two tables together. This is sometimes called a referencing key. Primary key field from one table and insert it into the other table where it becomes a foreign key ie. Foreign Key is a column or a combination of columns whose values match a Primary Key in a different table. But in practic i found that it is not compulsry that reference key must be a primary key in another table tell me why
Post your Comment