Re: Surrogate primary key plus unique constraint vs. natural primary key: data integrity?

From: Roy Hann <specially_at_processed.almost.meat>
Date: Wed, 13 Mar 2013 09:51:02 +0000 (UTC)
Message-ID: <khpi66$huq$1_at_speranza.aioe.org>


Cimode wrote:

>> > But the point is that subjectivity can not be taken from
>> > the equation in any scheme involving establishing a unique identifier.
>>
>> I think you have abbreviated this argument excessively.  I really don't
>> see your point.
> I believe the hidden point of the thread was about what would give the
> impression that there is such thing as a natural or primary key since
> there is not.
>
> I rephrase my take on that :
>
> 1> Any key is at some point in time a surrogate key . There is no
> such thing as a natural key.

You are giving excessive weight to the formal logic and no weight at all the *application" of formal logic. Sure it's all just symbols and there is no truth either, only valid derivations. But I want to *apply* logic and set theory to database management. If you reject natural keys you cannot be talking about databases. That's not to say your point is wrong; just that it is literally useless.

> 2> A design effort to represent a segment of reality is bound to
> designer's subjectivity. (Designers are not machines).

Whole-heartedly agreed. Nor are the user/customers who commission the designers.

> 3> Tuple distinguishibility is a part of the design effort, involving
> upgrade of surrogate to natural key.

Now you're starting to make some sense, but we are way past needing to be persuaded that formal logic underlies what we do when we design a database.

> 1 + 2 + 3 implies designer's own subjectivity partly explains the
> impression hat there would be such thing as a primary key.

Nah, you've lost me again.

>> > Explaining distinguishibility seems a more important challenge
>>
>> Another cryptic squib.  What is challenging about it?
> Explaining distinguishibility of tuples vs distinguishibility of
> physical rows is a challenge to most developers since most of them
> confuse Logical/Physical Layers. .

More sense.

Really, you need to show your work. It's a good thing I am willing to press for explanations of your gnomic utterances.

-- 
Roy
Received on Wed Mar 13 2013 - 10:51:02 CET

Original text of this message