Re: check constraint - Mailing list pgsql-general

From Martin A. Marques
Subject Re: check constraint
Date
Msg-id 00121819575701.25006@math.unl.edu.ar
Whole thread Raw
In response to Re: check constraint  (oberpwd@anubis.network.com (Wade D. Oberpriller))
List 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 by date:

Previous
From: "Feng Xue"
Date:
Subject: Re: a "huge" table with small rows and culumns
Next
From: Tom Lane
Date:
Subject: Re: Re: a "huge" table with small rows and culumns