The best replacement for primary key is foreign key.


Лучшие альтернативы к primary key можно упорядочить следующим образом:
★★★★★  foreign key
★★★★  unique key
★★★★  unique index
★★  index
★★  unique constraint
★★  clustered index
★★  candidate key
★  unique
★  identity
★  key
★  surrogate key
★  primary index
★  composite key
★  super key
  natural key
  unique clustered index
  unique key sql
  unique not null
  unique identifier
  identifier
  key mysql
  unique constraints

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

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

★★★★★ index
★★★ auto increment
★★★ duplicates
★★ auto increment in mysql
★★ auto increment mysql
★★ example in sql
★★ clustered
auto_increment in mysql
non clustered index
unique index
more than one field
clustered index
more than one column
alter table
mysql
Вам известен компаньон к primary key и он пока не упомянут тут? Предлагайте!



Google Trends

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