Re: check constraint

Поиск
Список
Период
Сортировка
От Martin A. Marques
Тема Re: check constraint
Дата
Msg-id 00121819575701.25006@math.unl.edu.ar
обсуждение исходный текст
Ответ на Re: check constraint  (oberpwd@anubis.network.com (Wade D. Oberpriller))
Список pgsql-general
El Lun 18 Dic 2000 12:43, Wade D. Oberpriller escribió:
> You should be able to do the following:
>
> CREATE TABLE table1 (
> field1 INTEGER CHECK ((field1 >= 0) AND (field1 <= 10))
> );

Can I put an OR there?

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

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

Предыдущее
От: "Feng Xue"
Дата:
Сообщение: Re: a "huge" table with small rows and culumns
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: a "huge" table with small rows and culumns