Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Foreign Key?

Former Member
0 Likes
433

What is meant by Foreign key?

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
411

Foreign key is a group of fields of a table that can be a primary keys of another table.

To be precise Foreign key fields depends on the value of primary key fields!!

Cheers,

Hakim

2 REPLIES 2
Read only

abdul_hakim
Active Contributor
0 Likes
412

Foreign key is a group of fields of a table that can be a primary keys of another table.

To be precise Foreign key fields depends on the value of primary key fields!!

Cheers,

Hakim

Read only

Former Member
0 Likes
411

Hi,

Foreign key is a key which relates two tables.The table containing the foreign key is called the foreign key table.A check aganist the feild in which the foreign key is defined must be done with a check table whose primary key must contain that foreign key field with in it.

So, validation of the data is done for the field in which the foreign key is defined.