Sunday, October 19, 2008

Difference between foreign key and reference key

Foreign key is the key i.e. attribute which refers to another table primary key.
Reference key is the primary key of table referred by another table.

2 comments:

iamjhkang said...

reference key?
is that an official term?

Bernandas said...

Yes its another term