pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Rado Petrik <r.p@szm.sk>
Cc: pgsql-sql@postgresql.org
Subject: Re: Drop CONSTRAINT
Date: Tue, 20 May 2003 13:16:20 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <1053423124.623.1.camel@caj>

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




view thread (2+ messages)

Message-ID: <Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, r.p@szm.sk
  Subject: Re: Drop CONSTRAINT
  In-Reply-To: <Pine.LNX.4.44.0305201315390.12914-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox