Re: Drop CONSTRAINT - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: Drop CONSTRAINT
Date
Msg-id Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Drop CONSTRAINT  (Rado Petrik <r.p@szm.sk>)
List pgsql-sql
On 20 May 2003, Rado Petrik wrote:

> Hi, 
> 
> how I drop this CONSTRAINT?
> 
> CONSTRAINT "ckc_p_name_pw_produ" CHECK ((p_name = 'aaa'::"varchar") OR
> (p_name = 'bbb'::"varchar"))

alter table <yourtable> drop contraint ckc_p_name_pw_produ;

> 
> Thanks.
> 

-- 
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel:    +30-210-8981112
fax:    +30-210-8981877
email:  achill@matrix.gatewaynet.com       mantzios@softlab.ece.ntua.gr



pgsql-sql by date:

Previous
From: Rado Petrik
Date:
Subject: Drop CONSTRAINT
Next
From: Jeff Boes
Date:
Subject: Re: Performance on temp table inserts