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$42660c81@ad.kent.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Dave

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

In response to

Browse pgsql-sql by date

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