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

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: 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 19:29:33
Message-ID: Pine.LNX.4.44.0304011728230.23310-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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?

Sorry man :(

the correct statement is

ALTER TABLE b_prestamo drop constraint b_prestamo_no_inventa_key;

>
>
>
>

--
==================================================================
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(at)matrix(dot)gatewaynet(dot)com
mantzios(at)softlab(dot)ece(dot)ntua(dot)gr

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message James Taylor 2003-04-02 00:17:39 Rows as Columns
Previous Message Achilleus Mantzios 2003-04-01 19:26:24 Re: How can I quit this: "Unique " to my table?