Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id DB0E99FA12B for ; Mon, 13 Nov 2006 13:32:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 27501-02 for ; Mon, 13 Nov 2006 17:31:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from trabant.cianoz.org (host31-194-149-62.serverdedicati.aruba.it [62.149.194.31]) by postgresql.org (Postfix) with ESMTP id C795F9FA0B9 for ; Mon, 13 Nov 2006 13:31:55 -0400 (AST) Received: by trabant.cianoz.org (Postfix, from userid 1031) id 1F716384183; Mon, 13 Nov 2006 18:31:54 +0100 (CET) Received: from geologia5.agora.ing.unipg.it (geologia5.agora.ing.unipg.it [141.250.41.212]) by trabant.cianoz.org (Postfix) with ESMTP id B772F384044 for ; Mon, 13 Nov 2006 18:31:49 +0100 (CET) Subject: drop a check From: ivan marchesini Reply-To: marchesini@unipg.it To: Postgres SQL language list Content-Type: text/plain Organization: University of Perugia Date: Mon, 13 Nov 2006 17:32:06 +0100 Message-Id: <1163435526.6395.27.camel@geoivan> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80 (http://www.clamav.net) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.779 tagged_above=0 required=5 tests=BAYES_20, FORGED_RCVD_HELO, SPF_SOFTFAIL X-Spam-Level: X-Archive-Number: 200611/134 X-Sequence-Number: 26786 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@unipg.it ivan.marchesini@gmail.com tel: +39(0)755853760 fax: +39(0)755853756 jabber: geoivan73@jabber.org