| From: | "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar> |
|---|---|
| To: | oberpwd(at)anubis(dot)network(dot)com (Wade D(dot) Oberpriller), martin(at)math(dot)unl(dot)edu(dot)ar (Martin A(dot) Marques) |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: check constraint |
| Date: | 2000-12-18 15:46:06 |
| Message-ID: | 00121812460604.21897@math.unl.edu.ar |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brian C. Doyle | 2000-12-18 16:31:32 | Carrage Returns \ Line Breaks! |
| Previous Message | Wade D. Oberpriller | 2000-12-18 15:43:26 | Re: check constraint |