Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> UNIQUE and PK

UNIQUE and PK

From: zeb <thierry.constant1_at_free.fr>
Date: Wed, 24 Jul 2002 21:32:30 +0200
Message-ID: <3d3f0005$0$445$626a54ce@news.free.fr>


Hi,

I have a DB ( 7.3.2. AIX )
for some tables, i have
the constraints:
 NOT NUL, UNIQUE and PRIMARY KEY for the same column

How is it possible ????

If there a UNIQUE
when I try to put a PRIMARY KEY
I get:
ORA-02261 such unique or primary key already exists in the table

and the same for the reverse

How can you explain this situation ???

Thanks in advance Received on Wed Jul 24 2002 - 14:32:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US