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

From: Ian Barwick <barwick(at)gmx(dot)net>
To: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, Luis Mix <ksql2002(at)yahoo(dot)com(dot)mx>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How can I quit this: "Unique " to my table?
Date: 2003-04-01 15:15:54
Message-ID: 200304011715.54301.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tuesday 01 April 2003 21:26, Achilleus Mantzios wrote:
> On Tue, 1 Apr 2003, Luis Mix wrote:
> > Hello pgsql-sql,
> >
> > When my table was create I wrote this:
> >
> > MyDatabase=# create table b_prestamo(no_inventa char(16) unique not
> > null, cve_area char(10), date1 date);
> > I need now that my table can accept repeated records, but not Null.
> > How can I do that?
> > SomeBody can help me please?
> > My table has information at the moment,what can I do for maintain
> > it?
>
> drop index b_prestamo_no_inventa_idx;

ALTER TABLE b_prestamo DROP CONSTRAINT b_prestamo_no_inventa_key ??

Ian Barwick
barwick(at)gmx(dot)net

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Oleg Bartunov 2003-04-01 15:26:33 Re: Off topic : world database
Previous Message Luis Mix 2003-04-01 14:34:48 How can I quit this: "Unique " to my table?