Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Nulls Allowed
Message
De
06/02/2006 18:05:07
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01094032
Message ID:
01094153
Vues:
13
>>Can someone explain to me why Nulls should not be allowed in a database regardless of what type of field it is? TIA
>
>1. Politics
>2. Incorrect aggregate values
>3. More code required
>
>Now who can tell us when and why to use null values?

Also, if you want to show off your uber-normalized database to other developers, NULLS don't belong (anything that can be NULL belongs in a related table because it is not 100% dependant on the key).

>2. Incorrect aggregate values

This is a biggie IMO. I can count on one hand how many SQL shops I've worked with that had a written policy on ANSI null settings and code review that looked for lazy aggregate code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform