Home > DeveloperSection > Interviews > What is Foreign Key in database?

Posted on    October-20-2010 12:00 AM

 MSSQL Server MSSQL Server 
Ratings:
 1 Answer(s)
  897  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    November-09-2010 1:00 AM

When a primary key of a table is used as a key in any other table then the key in the second table becomes the foreign key for that table.This allows the references integrity to be inforced on that table.

Don't want to miss updates? Please click the below button!

Follow MindStick