Re: Primary Keys
David W. Fenton wrote:
Because it is a valid assumption much of the time. Just think about
how often you have seen someone who posts a table design in response
to a question mention creating an index to prevent duplicate records.
Do you think the majority of people who have to resort to having their
data schema fed to them in a newsgroup are likely to know about creating
a unique index on multiple fields?
David W. Fenton wrote:
polite person <snip@snippers. comwrote in
news:b1ecb2tnlv c972dalokdhrh6i 0665n3hhs@4ax.c om:
>
>
>
>
Why is it that those who make this point against surrogate keys
always assume complete stupidity about the maintenance of unique
indexes on the part of those who use the surrogate keys?
news:b1ecb2tnlv c972dalokdhrh6i 0665n3hhs@4ax.c om:
>
>
>>However, if two records are the same apart from the value of the
>>surrogate key this is surely an error (duplicate record), so you
>>need to keep an eye on this in some way or other.
>>surrogate key this is surely an error (duplicate record), so you
>>need to keep an eye on this in some way or other.
>
Why is it that those who make this point against surrogate keys
always assume complete stupidity about the maintenance of unique
indexes on the part of those who use the surrogate keys?
how often you have seen someone who posts a table design in response
to a question mention creating an index to prevent duplicate records.
Do you think the majority of people who have to resort to having their
data schema fed to them in a newsgroup are likely to know about creating
a unique index on multiple fields?
Comment