Re: [Db] [mySQL] se non c è crealo!
Cristiano Verondini
cristiano a verondini.it
Mer 15 Nov 2006 17:05:52 CET
> "The biggest disadvantage for intelligent keys, and a corresponding
> advantage for surrogate keys, is that primary keys are hard to change.
> Whenever a primary key changes in value, or columns are added to or
> dropped from a primary key, the effects cascade down through foreign
> key relationships.
> Intelligent keys suffer from this problem because not only are they
> used as primary and foreign keys but they also have some business
> meaning associated with them. When the business changes, so do the primary
> key values or structure,
> with all the problems associated with such a change.
>
> questo non è assolutamente uno svantaggio ed è palese:
> la realtà cambia -> i dati che rappresentano la realtà cambiano
Quello che intende è che se la realtà cambia e le tue relazioni sono
basate su un dato che cambia, gestire il cambiamento è, tecnicamente
parlando, pain in the ass! :)
Cris
--
Cristiano Verondini
http://www.verondini.it --- [ICQ: 114 190]
Maggiori informazioni sulla lista
Db