Re: Separate PK in Jxn Tbl?
Date: 27 Jan 2008 20:27:07 GMT
Message-ID: <Xns9A329D4116528f99a49ed1d0c49c5bbb2_at_64.209.0.89>
CDMAPoster_at_fortunejames.com wrote in
news:db4e7666-f9ef-4c72-a483-f951b80c6183_at_k39g2000hsf.googlegroups.co
m:
> If the users only access the tables through forms, conforming to
> best practices in Access, how are they going to get garbage into
> the tables?
What if there's more than one application built on top of the database?
I, too, agree that one should put as much of the data logic in the back end as possible.
However, that doesn't mean I use natural keys very often. I'm definitely opposed to compound keys for any table whose PK will be a foreign key in another table. It causes myriad problems of all sorts (been there, done that), and despite its being theoretically correct, just doesn't work well in practice.
Natural keys are great for tables with a single-column natural PK.
Otherwise, surrogate keys make building an application substantially easier.
-- David W. Fenton http://www.dfenton.com/ usenet at dfenton dot com http://www.dfenton.com/DFA/Received on Sun Jan 27 2008 - 21:27:07 CET