From: | Sascha Ziemann <ziemann(at)secunet(dot)de> |
---|---|
To: | Michael Glaesemann <grzm(at)myrealbox(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: UNIQUE constraint |
Date: | 2004-08-09 09:41:49 |
Message-ID: | m3hdrcps0y.fsf@sn-e0310.ek.secunet.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Michael Glaesemann <grzm(at)myrealbox(dot)com> writes:
> On Aug 7, 2004, at 3:25 AM, Sascha Ziemann wrote:
> > CREATE TABLE example (
> > a integer,
> > b integer,
> > c integer,
> > UNIQUE (a, c)
> > );
> >
> > But it is not clean to me. Does the above example mean that the list
> > of pairs must be unique
>
> Yes.
Do you know wheather this is part of the SQL standard? I have to
write an application that works on Postgresql and Oracle. Is this the
same on Oracle?
Sorry for asking but right now I have no access to the database to
test it.
cu Sascha
--
secunet Security Networks AG, Im Teelbruch 116, 45219 Essen
Tel: +49-2054-123-408 Fax: +49-2054-123-123
PGP: FBE2 A49B 6526 C1B4 7F10 24E4 5004 7C27 6E9A 9698
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Haller | 2004-08-09 14:53:41 | Re: select |
Previous Message | Tom Lane | 2004-08-09 06:21:16 | Re: Make a column case insensitive |