Re: Dual Primary keys

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Dual Primary keys
Дата
Msg-id 20040204153518.GA20727@wolff.to
обсуждение исходный текст
Ответ на Dual Primary keys  ("Bantamess" <bantamess@yahoo.co.uk>)
Список pgsql-novice
On Wed, Feb 04, 2004 at 15:15:45 -0000,
  Bantamess <bantamess@yahoo.co.uk> wrote:
> Hello can any body tell me how to code a table with dual primary keys? The table 'borrower' has two PKs each one has
beenused in other tables within the same schema as single PKs 

Use UNIQUE and NOT NULL constraints on one of the two keys. In references
to that key, you will need to specify the column name as the default
column name is the primary key.

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

Предыдущее
От: "Bantamess"
Дата:
Сообщение: Dual Primary keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Dual Primary keys