Database Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1590 Page Views: 

What is a Foreign Key?



Posted By: Avi Date: 20 August 2009 03:01:26 AM
 Answer:

A foreign key is a referential constraint between two tables. The foreign key identifies a column or a set of columns in one (referencing) table that refers to a column or set of columns in another (referenced) table. The columns in the referencing table must be the primary key or other candidate key in the referenced table.


Posted By: eTechPlanet


Date: 20 August 2009 03:01:26 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image dC7GcD
Related Questions
Database : What is the difference between rollback and commit commands?

What is the difference between rollback and commit commands?

COMMIT command is used to make all the changes permanent to the underlying database which we made du....
Category: Database Date: 9/21/2009 9:47:19 PM
Database : What do you mean by Cardinality?

What do you mean by Cardinality?

Cardinality refers to the type of relationship like the relationship between two entities is one to ....
Category: Database Date: 8/20/2009 3:06:52 AM
Database : What do you mean by Deadlock?

What do you mean by Deadlock?

When number of transaction are running at the same time and if a situation occurs when the one trans....
Category: Database Date: 8/20/2009 3:04:53 AM
Database : What do you mean by concurrency?

What do you mean by concurrency?

Concurrency refers when the two or more transaction are executed simultaneously.
Category: Database Date: 8/20/2009 3:03:52 AM
Database : What is a Candidate key?

What is a Candidate key?

Candidate key is a set of one or more attribute other than primary key that can uniquely identify a ....
Category: Database Date: 8/20/2009 3:02:40 AM