When to use compound PK instead of a FK?

Поиск
Список
Период
Сортировка
От Jamie
Тема When to use compound PK instead of a FK?
Дата
Msg-id 1170604108.880422.22010@j27g2000cwj.googlegroups.com
обсуждение исходный текст
Ответы Re: When to use compound PK instead of a FK?
Список pgsql-general
I typically use compound primary keys when creating a table that
represents a many-to-many relationship. I was wondering if anyone else
had other situations in which you would use a compound PK? Why do you
use it instead of just a foreign key?


В списке pgsql-general по дате отправления: