The best replacement for foreign key is primary key.


Лучшие альтернативы к foreign key можно упорядочить следующим образом:
★★★★★  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

Ваша альтернатива к foreign key не упомянута? Предложите!
Говоря о foreign key, пожалуй, не стоит забывать о composite primary key.

Другие запросы относящиеся к foreign key можно упорядочить так:

★★★★★ composite primary key
★★★★★ navigation property
★★★★ cascade
★★★★ check constraint
alter table
Вам известен компаньон к foreign key и он пока не упомянут тут? Предлагайте!



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