drop a check

From: ivan marchesini <marchesini(at)unipg(dot)it>
To: Postgres SQL language list <pgsql-sql(at)postgresql(dot)org>
Subject: drop a check
Date: 2006-11-13 16:32:06
Message-ID: 1163435526.6395.27.camel@geoivan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dear all...
I have created a check constraint without giving it a name..
now I have a check named "$25" in my table that I need to drop or
modify!!!
How can I do???
with names is simple

alter table tablename drop constraint constraintname;

but without name?? :-)

many thanks...

Ivan

--
Ivan Marchesini
Department of Civil and Environmental Engineering
University of Perugia
Via G. Duranti 93/a
06125
Perugia (Italy)
e-mail: marchesini(at)unipg(dot)it
ivan(dot)marchesini(at)gmail(dot)com
tel: +39(0)755853760
fax: +39(0)755853756
jabber: geoivan73(at)jabber(dot)org

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2006-11-13 16:49:54 COALESCE and GROUP BY and AGGREGATES
Previous Message Michael Fuhr 2006-11-13 15:06:43 Re: max (timestamp,timestamp)