Re: Check constraint

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Check constraint
Дата
Msg-id 20040317125306.B13349@zoraida.natserv.net
обсуждение исходный текст
Ответ на Check constraint  (Francisco Reyes <lists@natserv.com>)
Список pgsql-general
On Wed, 17 Mar 2004, Stephan Szabo wrote:

> Actually, shouldn't a table level check constraint be able to do this with
> something like:
> check (purchase_type!=3 or comment is not null)

That worked Stephan.

Gregory. I think yours would work too. Saw Stephans answer and tested
before I saw your email.

Thanks guys.

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

Предыдущее
От: "Valter"
Дата:
Сообщение: Relation "xxxxx" does not exist
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Check constraint