CHECK constraint so that only one is TRUE?

Поиск
Список
Период
Сортировка
От incognit@unifiedmind.com (+I)
Тема CHECK constraint so that only one is TRUE?
Дата
Msg-id ebcd475a.0201121104.62d46853@posting.google.com
обсуждение исходный текст
Список pgsql-general
How would you write a check constraint to ensure that only one column,
of type boolean, is set to TRUE for a given ID?

Thanks.

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

Предыдущее
От: ph02116@yahoo.com (ph01803)
Дата:
Сообщение: Having problem with initdb on my Solaris 8 box
Следующее
От: Justin Clift
Дата:
Сообщение: Re: Kindly help.