Re: How can I quit this: "Unique " to my table? more info...

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Luis Mix <ksql2002(at)yahoo(dot)com(dot)mx>
Cc: pgsql-sql(at)postgresql(dot)org, Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Subject: Re: How can I quit this: "Unique " to my table? more info...
Date: 2003-04-01 18:33:58
Message-ID: 1049222038.35327.95.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, 2003-04-01 at 13:17, Luis Mix wrote:
> 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"

Drop the ALTER TABLE <table>

Just do:
DROP INDEX ...

> --------------------
>
> > ALTER TABLE b_prestamo DROP CONSTRAINT b_prestamo_no_inventa_key;

This is 7.3 syntax.

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-04-01 19:26:24 Re: How can I quit this: "Unique " to my table?
Previous Message Luis Mix 2003-04-01 18:17:12 How can I quit this: "Unique " to my table? more info...