Re: UNIQUE constraint - Mailing list pgsql-sql

From Sascha Ziemann
Subject Re: UNIQUE constraint
Date
Msg-id m3hdrcps0y.fsf@sn-e0310.ek.secunet.de
Whole thread Raw
In response to Re: UNIQUE constraint  (Michael Glaesemann <grzm@myrealbox.com>)
Responses CREATE TYPE VARCHAR2
List pgsql-sql
Michael Glaesemann <grzm@myrealbox.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



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [PERFORM] Performance Problem With Postgresql!
Next
From: "Traci Sumpter"
Date:
Subject: LIKE '%%' does not return NULL