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

Home -> Community -> Usenet -> comp.databases.theory -> Re: Clean Object Class Design -- What is it?

Re: Clean Object Class Design -- What is it?

From: Steve Wart <swart_at_deadspam.com>
Date: Thu, 19 Jul 2001 01:10:46 GMT
Message-ID: <qsq57.3596$h8.71742@news1.rdc1.bc.home.com>

What should be used for a primary key in a relational design? Is it better to use real-world values (e.g. SSN, although this would only work for US employees) or is it better to generate a key?

Does the RDBMS always create an index on a primary key to ensure uniqueness? If this is the designer's responsibility, do all tables in a database generally have primary keys with uniqueness constraints defined, or is that "overkill" for practical purposes?

How is generating a key better than the ODBMS equivalent of a system-generated Oid?

--
Cheers
Steve (steve at wart dot ca ICQ 50919689)
Received on Wed Jul 18 2001 - 20:10:46 CDT

Original text of this message

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