Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: UNIQUE &NOT NULL vs PK
Nandakumar wrote:
>
> could someone list out the advantages/disadvantages of defining a column
> with PRIMARY KEY constraint over UNIQUE and NOT NULL constraint?
>
> i am wondering where the diff. between these two exists?
>
> ... in storage of the constraint ???
> ... ability to be REFERENCEd in foreign tables ???
> ... INDEXabilty ???
> ... or something else ???
>
> thanks in advance for your valuable responses.
> regards
> Nanda
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
To update a join - you need a primary key, a unique index (or even a unique constraint I think) won't cut it...
--
"Some days you're the pigeon, and some days you're the statue." Received on Mon Nov 08 1999 - 05:04:54 CST