Unique cosntraint based on contents of a field?

Поиск
Список
Период
Сортировка
От Warren Bell
Тема Unique cosntraint based on contents of a field?
Дата
Msg-id 4BBD3FB4.3010206@gmail.com
обсуждение исходный текст
Ответы Re: Unique cosntraint based on contents of a field?  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-general
Is there a way to create a unique constraint based on the content of a
field? For instance, say you have an integer field where you only want
one record with the number 1 in that field but there can be many records
with say the number 2 or any other single number in that field.

--
Thanks,

Warren Bell


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

Предыдущее
От: Andy Colson
Дата:
Сообщение: Re: Postgres 9 alpha 5 revised, stored proc
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Unique cosntraint based on contents of a field?