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_at_news1.rdc1.bc.home.com>
Date: Thu, 19 Jul 2001 01:10:46 GMT
Message-ID: <qsq57.3596$h8.71742_at_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
--
Cheers
Steve (steve at wart dot ca ICQ 50919689)
Received on Thu Jul 19 2001 - 03:10:46 CEST