Re: Database design, Keys and some other things



-CELKO- wrote:
Dr. Codd: "..Database users may cause the system to generate or delete
a surrogate, but they have no control over its value, nor is its value
ever displayed to them ..."(Dr. Codd in ACM TODS, pp 409-410) and Codd,
E. (1979), Extending the database relational model to capture more
meaning.  ACM Transactions on Database Systems, 4(4).  pp. 397-434.

This means that a surrogate ought to act like an index; created by the
user, managed by the system and NEVER seen by a user.  That means never
used in queries, DRI or anything else that a user does.
...

thanks, i'd never paid much attention to the idea before. seems like a bizarre one, if i may say so. i can just imagine trying to explain it to a properly nosy user, eg.: "well the database did it that way because of the surrogate key ... what? ... how do i know there aren't two of them? ... well, i just *know* ... what? ... no, you can't see it!"


if one agrees that there are more basic problems to be solved, it doesn't seem like a very important idea, but if a guy as smart as Codd put it forth, i guess i should try harder to understand it.

p

.



Relevant Pages

  • Re: Guidelines to a decent support of surrogate key implementation
    ... totally unrelated to the logical data model. ... A surrogate key is system generated to replace the actual key ... with a quote from Dr. Codd: ... Extending the database relational model to capture more meaning. ...
    (comp.databases.theory)
  • Re: [NOW ANSWER Aarons QUESTION CELKO]
    ... True surrogates are fine; ... surrogate keys Dr. Codd was refering to when he wrote: ... Codd in ACM TODS, pp 409-410) and Codd, E., Extending the ... database relational model to capture more meaning. ...
    (microsoft.public.sqlserver.programming)
  • Re: Negative Numbers in "Identity" or" Autonumber" fields
    ... WHAT IS A SURROGATE KEY? ... A quote from Dr. Codd: "..Database users may cause the system to ... "There are three difficulties in employing user-controlled keys as ...
    (comp.databases.theory)
  • Re: Negative Numbers in "Identity" or" Autonumber" fields
    ... WHAT IS A SURROGATE KEY? ... A quote from Dr. Codd: "..Database users may cause the system to ... "There are three difficulties in employing user-controlled keys as ...
    (comp.databases.theory)
  • Re: Traversing large data table
    ... > generate or delete a surrogate, but they have no control over its value, ... > nor is its value ever displayed to them ..."(Dr. Codd in ACM TODS, ...
    (microsoft.public.sqlserver.programming)