pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Barwick <barwick@gmx.net>
To: 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:15:54 +0200
Message-ID: <200304011715.54301.barwick@gmx.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0304011725230.23310-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0304011725230.23310-100000@matrix.gatewaynet.com>

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@gmx.net




view thread (7+ messages)  latest in thread

Message-ID: <200304011715.54301.barwick@gmx.net>
Permalink:  ../200304011715.54301.barwick@gmx.net/
Also on:    postgresql.org/message-id/200304011715.54301.barwick@gmx.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: barwick@gmx.net, achill@matrix.gatewaynet.com, ksql2002@yahoo.com.mx
  Subject: Re: How can I quit this:  "Unique " to my table?
  In-Reply-To: <200304011715.54301.barwick@gmx.net>

* 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