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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Is a primary key always desired?

Re: Is a primary key always desired?

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Sat, 4 Oct 2003 21:17:13 +0100
Message-ID: <3f7f2ab4$0$252$cc9e4d1f@news.dial.pipex.com>


"Randy Harris" <randy_at_SpamFree.com> wrote in message news:mzlfb.5646$Hd6.3652502_at_newssvr28.news.prodigy.com...
> I'm sure this is another dumb question, your patience is appreciated.
>
> Should every table in an Oracle database have a Primary Key? What about a
> very small table that is used for a very short list of values?

Is it desirable - absolutely, even lookup tables shouldn't have duplicates or miss required data. Is it practice, sadly not.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer
******************************************
Received on Sat Oct 04 2003 - 15:17:13 CDT

Original text of this message

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