Thread: Drop CONSTRAINT

Drop CONSTRAINT

From
Rado Petrik
Date:
Hi, 

how I drop this CONSTRAINT?

CONSTRAINT "ckc_p_name_pw_produ" CHECK ((p_name = 'aaa'::"varchar") OR
(p_name = 'bbb'::"varchar"))

Thanks.
-- 
Rado Petrik <r.p@szm.sk>




Re: Drop CONSTRAINT

From
Achilleus Mantzios
Date:
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