Re: check constraint - Mailing list pgsql-general

From Martin A. Marques
Subject Re: check constraint
Date
Msg-id 00121812460604.21897@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))
> );

Thanks!!! Didn't know that!!!!!


--
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: oberpwd@anubis.network.com (Wade D. Oberpriller)
Date:
Subject: Re: check constraint
Next
From: "Brian C. Doyle"
Date:
Subject: Carrage Returns \ Line Breaks!