Re: UNIQUE constraint
От | Sascha Ziemann |
---|---|
Тема | Re: UNIQUE constraint |
Дата | |
Msg-id | m3hdrcps0y.fsf@sn-e0310.ek.secunet.de обсуждение исходный текст |
Ответ на | Re: UNIQUE constraint (Michael Glaesemann <grzm@myrealbox.com>) |
Ответы |
CREATE TYPE VARCHAR2
|
Список | 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 по дате отправления: