HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

You make DZone different! Login and vote now.
Link 217697 thumbnail
User 209711 avatar

By SMMS
via sql-ex.ru
Published: Aug 19 2009 / 04:26

In previous paper we were considering the duplicate rows problem resolving, caused by lack of a primary key. Now let consider more difficult case, when key is present but it is synthetic. When design is improper it can lead to duplicate rows appearing, from a subject area view point. It is strange, but even if I am tell to my students about synthetic primary key disadvantages, they are still use ones in their first data base projects. Probably all people need to enumerate everything :)
  • 15
  • 1
  • 2259
  • 0

Comments

Add your comment
User 417127 avatar

dcortez replied ago:

-4 votes [show comment] Vote down Vote up Reply
User 209711 avatar

SMMS replied ago:

0 votes Vote down Vote up Reply

2dcortez
I have understood it so, that you the adherent of synthetic keys. :-)

User 327526 avatar

chase.saunders replied ago:

1 votes Vote down Vote up Reply

There are cases where I use a synthetic key as a primary key, and additionally define a natural key of some kind (e.g. via a unique index). That seems to avoid the problems the author cites with synthetic keys. That said, it is a kind of treatise on how to clean up a database in which the keys have been abused (or why you wouldn't want to).

User 373192 avatar

lil replied ago:

0 votes Vote down Vote up Reply

thanks for useful articles.

User 209711 avatar

SMMS replied ago:

0 votes Vote down Vote up Reply

2chase.saunders
> and additionally define a natural key of some kind (e.g. via a unique index).

Just about it I also wrote.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.