Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null vs. Zero for Primary Key
Message
From
19/01/2011 16:29:37
 
General information
Forum:
Microsoft SQL Server
Category:
Database design
Miscellaneous
Thread ID:
01496573
Message ID:
01496595
Views:
49
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>
Previous
Reply
Map
View

Click here to load this message in the networking platform