dbTalk Databases Forums  

INSERT Statment has another prolbem.

comp.databases comp.databases


Discuss INSERT Statment has another prolbem. in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Marco Mariani
 
Posts: n/a

Default Re: INSERT Statment has another prolbem. - 05-20-2008 , 09:57 AM






Andrea Montanari wrote:

Quote:
the underlying dbms implements it is a choice by the related dev group.. in
SQL Server a primary key is implemented as a unique index, but the
implications of uniqueness enforcement is mandatory...
I think Ed was referring to duplication of data, not duplication of
rows. Since your pkey is not part of the data you've modeled,
duplication is still possible.

Anyway, this is one of the holy wars I like most (way above vim vs
emacs), and I read many threads - and occasional swearwords and death
threats (*) - on the subject. It has been entertaining and instructive.

I've come to the conclusion that we, as species, have evolved in an
environment with a profusion of surrogate keys, for millions of years...
I'd need to research more on the matter, and publish a paper somewhere.


(*) I'm not making this up.


Reply With Quote
  #22  
Old   
Marco Mariani
 
Posts: n/a

Default Re: INSERT Statment has another prolbem. - 05-20-2008 , 09:57 AM






Andrea Montanari wrote:

Quote:
the underlying dbms implements it is a choice by the related dev group.. in
SQL Server a primary key is implemented as a unique index, but the
implications of uniqueness enforcement is mandatory...
I think Ed was referring to duplication of data, not duplication of
rows. Since your pkey is not part of the data you've modeled,
duplication is still possible.

Anyway, this is one of the holy wars I like most (way above vim vs
emacs), and I read many threads - and occasional swearwords and death
threats (*) - on the subject. It has been entertaining and instructive.

I've come to the conclusion that we, as species, have evolved in an
environment with a profusion of surrogate keys, for millions of years...
I'd need to research more on the matter, and publish a paper somewhere.


(*) I'm not making this up.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.