Skip site navigation (1) Skip section navigation (2)

Re: changing constraints

From: "David" <de4(at)kent(dot)ac(dot)uk>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: changing constraints
Date: 2004-03-10 15:57:17
Message-ID: 002e01c406b8$5c9ae260$ (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
Cheers that worked fine, i guess its obvious im new to postgres (SQL in
general!), oh well you have to learn somehow


> Try something like (untested):
>   ALTER TABLE genus ADD CONSTRAINT valid_gender CHECK (gender IN
> ('masculine','feminine'));
> -- 
>   Richard Huxton
>   Archonet Ltd

In response to

pgsql-sql by date

Next:From: Enver ALTINDate: 2004-03-10 16:48:17
Subject: randomized order in select?
Previous:From: Jander Rebelo LuizDate: 2004-03-10 14:29:58
Subject: Break a Report in Run Time

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group