X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 670C4475CBC for ; Tue, 1 Apr 2003 13:17:18 -0500 (EST) Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by postgresql.org (Postfix) with SMTP id A6D41475AF8 for ; Tue, 1 Apr 2003 13:17:17 -0500 (EST) Received: from red01.utm.mx (HELO localhost) (ksql2002@192.100.170.191 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 Apr 2003 18:17:16 -0000 Date: Tue, 1 Apr 2003 12:17:12 -0600 From: Luis Mix X-Mailer: The Bat! (v1.61) Reply-To: Luis Mix Organization: utm X-Priority: 3 (Normal) Message-ID: <793515575.20030401121712@yahoo.com.mx> To: pgsql-sql@postgresql.org Cc: Achilleus Mantzios Subject: How can I quit this: "Unique " to my table? more info... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.0 required=5.0 tests=BAYES_20,FROM_ENDS_IN_NUMS,MAILTO_TO_SPAM_ADDR, QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/12 X-Sequence-Number: 12713 Hello pgsql-sql, I tried with both, but I obtain the follow Error. ____________________ >> drop index b_prestamo_no_inventa_idx; ALTER TABLE b_prestamo drop index b_prestamo_no_inventa_idx; ERROR: parser: parse error at or near "b_prestamo1_no_inventa_idx" -------------------- > ALTER TABLE b_prestamo DROP CONSTRAINT b_prestamo_no_inventa_key; ERROR: parser: parse error at or near ";" ____________________ >The correct answer is "one or the other depending on which PG version postgres (PostgreSQL) 7.1.2 ____________________ What happen some one can help me...? Thank all... -- Best regards, Luis mailto:ksql2002@yahoo.com.mx