Re: Simple database layout - Am I on the right track?
- From: "Larry Linson" <bouncer@xxxxxxxxxxxxx>
- Date: Wed, 17 Dec 2008 03:29:57 GMT
"rkc" <rkc@xxxxxxxxx> wrote
What about the "rule" that the ubiquitous
"most of us" agree with that every table
should have an autonumber "primary key"?
I think my statement about "most of us recognizing levels of normalization"
is accurate with regard to "most of the people providing accurate answers to
questions in this newsgroup". I know very few, if any, people, who believe
that _every table_ should have an _autonumber primary key_.
Autonumbers (and their equivalent under other names in other RDBs) are handy
and useful in many instances. They are, IMNSHO, unsuited for some other
uses, such as, being displayed to a user -- I have seen too many times when
someone chose to use an Autonumber as an identifier and the bookkeeper,
accountant, or boss asked "what happened to the other [whatever was so
identified]s?" when all that had happened was that the sequence of
Autonumber identifiers was not monotonically increasing.
There are certainly two sides, who seem unlikely to ever come to agreement,
to the argument over whether an Autonumber surrogate key is "better" than
joining on multi-part composite keys. Just from a long knowledge of
programming techniques, I tend to think that, from a performance
perspective, the multi-part composite keys will be slower. But, as we say
down in East Texas, "I don't have a dog in that fight."
If that isn't meaningful to you, I can restate "Multi-part composite keys
can be satisfying to the 'purist'; surrogate keys can be useful for the
'pragmatist'; I don't hold strong views that either is "right" or "better",
so they will have to argue it out amongst themselves." And, even further,
"You aren't about to lure me into that fruitless argument."
Larry Linson
Microsoft Office Access MVP
.
- Follow-Ups:
- References:
- Simple database layout - Am I on the right track?
- From: strongsilentone
- Re: Simple database layout - Am I on the right track?
- From: tina
- Re: Simple database layout - Am I on the right track?
- From: hbinc
- Re: Simple database layout - Am I on the right track?
- From: Keith Wilby
- Re: Simple database layout - Am I on the right track?
- From: rkc
- Re: Simple database layout - Am I on the right track?
- From: paii, Ron
- Re: Simple database layout - Am I on the right track?
- From: rkc
- Re: Simple database layout - Am I on the right track?
- From: Larry Linson
- Re: Simple database layout - Am I on the right track?
- From: rkc
- Re: Simple database layout - Am I on the right track?
- From: Larry Linson
- Re: Simple database layout - Am I on the right track?
- From: lyle fairfield
- Re: Simple database layout - Am I on the right track?
- From: rkc
- Simple database layout - Am I on the right track?
- Prev by Date: Re: Access 2007 / VBA - New-Person - design/query advice
- Next by Date: Re: textwidth()?
- Previous by thread: Re: Simple database layout - Am I on the right track?
- Next by thread: Re: Simple database layout - Am I on the right track?
- Index(es):
Relevant Pages
|
Loading