Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null vs. Zero for Primary Key
Message
De
19/01/2011 16:29:37
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
01496573
Message ID:
01496595
Vues:
50
Quote from one of the replies in the mentioned Quiz:

---------------
“…My friend Louis Davidson argues that it’s better to make the foreign key not null and add a row to the lookup table to represent the Does-Not-Apply value. I see that as a surrogate lookup and would prefer the null.“ [“Microsoft SQL Server 2008 Bible” by Rolf Nielsen]

----------
So, if the above quote is correct, it means the great authority in Database Design suggests to avoid NULL usage for FKs.


Yeah, but I'm sure someone will find fault with the grammar. <s>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform