| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: A pk is *both* a physical and a logical object.
"paul c" <toledobythesea_at_oohay.ac> wrote in message news:2tyqi.11337$rX4.9610_at_pd7urf2no...
> Brian Selzer wrote:
> > I repeat, what does it matter? If it happens to be a simple and precise > term, so what, eg., what is the point? What is the possible use? Eg., > why would this notion ever matter to a dbms? >
Given a choice between a key that permanently identifies individuals and a key that contingently identifies individuals, which would you choose to be the primary key, and thus the target of all foreign keys? Don't you see a problem with a relation that represents the histories of a set of individuals where those individuals are denoted only by a set of attributes that contingently identify them?
But requiring that all key values permanently identify individuals significantly limits the expressiveness of the model, cutting in half the expressions that can be used to denote individuals, thereby reducing the number of queries that can be formulated. Referring to my previous example, a query such as "Which part has lot number 203 in location 22?" could not be considered deterministic if the key, {lot_number, location}, were not defined, and thus should be rejected as being formulated incorrectly. Without that key, there can be more than one part with lot number 203 in location 22, and you can't stuff a relation value into a tuple variable.
> If somebody will please answer this question, I'll stop asking it! > > pReceived on Sun Jul 29 2007 - 10:51:32 CDT
![]() |
![]() |