The best replacement for foreign key is primary key.


The best alternatives to foreign key are rated as following:
★★★★★  primary key
★★★  constraint
★★  composite key
★★  references
★★  unique key
★★  surrogate key
★★  secondary key
★★  index mysql
★  one to one
★  candidate key
★  many to many
★  check constraint
  relation

Your alternative for foreign key is not listed? Suggest!
Speaking about foreign key, one probably shouldn't forget about composite primary key.

Other search terms related to foreign key and their ratings are:

★★★★★ composite primary key
★★★★★ navigation property
★★★★ cascade
★★★★ check constraint
alter table
You have in mind a companion for foreign key and it is not yet here? Propose!



Google Trends

Scale is based on the average worldwide traffic of foreign key in all years. Click on graph for more.
foreign key
primary key
constraint