Re: Database design
am 26.01.2004 07:31:15 von Daniel Kasak
Duke, Brian wrote:
>Can someone explain a 1:n non identifying relation?
>
>
>
>Brian Duke
>
>
Yes.
I'm Dan, and I'm unique; there's only one of me.
However if I like a store after an initial purchase from them, I may go
back and another purchase.
1:n
User:Purchase
Dan
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org
R: RE: database design
am 12.09.2009 08:55:05 von Claudio Nanni - TomTom
--001636025fbda34a6504735be93e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Manageability.
Id(surrogate) can be autoincrement so managed by the engine,
Joins are simpler to write.
Imagine a natural key composed of three or more fields.
Practical, with surrogate you can 'book' a record while not knowing yet all
of the values that compose the natural key.
Just a couple of points.
Claudio
Il giorno 12 set, 2009 12:57 m., "Martin Gainty" ha
scritto:
what are the advantages to implementing a natural key over surrogate key
?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit=
=E9
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes
pas le destinataire pr=E9vu, nous te demandons avec bont=E9 que pour
satisfaire informez l'exp=E9diteur. N'importe quelle diffusion non
autoris=E9e ou la copie de ceci est interdite. Ce message sert =E0
l'information seulement et n'aura pas n'importe quel effet l=E9galement
obligatoire. =C9tant donn=E9 que les email peuvent facilement =EAtre sujets
=E0 la manipulation, nous ne pouvons accepter aucune responsabilit=E9 pour
le contenu fourni.
> Date: Fri, 11 Sep 2009 15:22:57 -0700
> Subject: Re: database design
> From: kykimdba@gmail.com
> To: fuller.artful@gmail.com
> CC: claudio.nanni@gmail.com; andrewhudds@gmail.com; mysql@lists.mysql.com
> > A) You would probably want to populate the Article.Article_Type column =
>
with Article_Type.ID....
> --
> MySQL General Mailing List > For list archives:
http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmgainty@hotmail.com
>
------------------------------
Get back to school stuff for them and cashback for you. Try Bing
now.
MSHYCB_BackToSchool_Cashback_BTSCashback_1x1>
--001636025fbda34a6504735be93e--