X-Original-To: pgsql-sql@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id AE5FC924DE2 for ; Tue, 20 May 2003 06:12:43 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 61500-03 for ; Tue, 20 May 2003 06:12:40 -0400 (EDT) Received: from matrix.gatewaynet.com (unknown [217.19.69.50]) by developer.postgresql.org (Postfix) with ESMTP id ADBD6924DDE for ; Tue, 20 May 2003 06:12:39 -0400 (EDT) Received: from matrix.gatewaynet.com (localhost [127.0.0.1]) by matrix.gatewaynet.com (8.12.5/8.12.5) with ESMTP id h4KFGKEP013763; Tue, 20 May 2003 13:16:20 -0200 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.5/8.12.5/Submit) with ESMTP id h4KFGKUS013759; Tue, 20 May 2003 13:16:20 -0200 Date: Tue, 20 May 2003 13:16:20 -0200 (GMT+2) From: Achilleus Mantzios To: Rado Petrik Cc: pgsql-sql@postgresql.org Subject: Re: Drop CONSTRAINT In-Reply-To: <1053423124.623.1.camel@caj> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/381 X-Sequence-Number: 13546 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 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