Re: Add Foreign Keys To Table

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Add Foreign Keys To Table
Дата
Msg-id alpine.LNX.2.00.1107071228200.20399@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Add Foreign Keys To Table  (Alan Hodgson <ahodgson@simkin.ca>)
Ответы Re: Add Foreign Keys To Table  (Alan Hodgson <ahodgson@simkin.ca>)
Re: Add Foreign Keys To Table  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On Thu, 7 Jul 2011, Alan Hodgson wrote:

> It implies the composite is unique. Not sta_type.

   OK. Now I understand. How, then, do I add a unique constraint to each
component of the composite key so I can add them as foreign keys to the
station_information table? Or, is there another way to add those two columns
to station_information and then add the foreign key constraints?

Thanks for clarifying,

Rich


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

Предыдущее
От: Alan Hodgson
Дата:
Сообщение: Re: Add Foreign Keys To Table
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Add Foreign Keys To Table