From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Luis Mix <ksql2002@yahoo.com.mx>
Cc: pgsql-sql@postgresql.org
Subject: Re: How can I quit this: "Unique " to my table?
Date: Tue, 1 Apr 2003 17:29:33 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0304011728230.23310-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <143697787.20030401083448@yahoo.com.mx>
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@matrix.gatewaynet.com
mantzios@softlab.ece.ntua.gr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, ksql2002@yahoo.com.mx
Subject: Re: How can I quit this: "Unique " to my table?
In-Reply-To: <Pine.LNX.4.44.0304011728230.23310-100000@matrix.gatewaynet.com>
References: <143697787.20030401083448@yahoo.com.mx> <Pine.LNX.4.44.0304011728230.23310-100000@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox