Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null
Message
De
04/06/2009 11:49:55
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Re: Null
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01403676
Message ID:
01403705
Vues:
44
>>>The NULLs require special handling in queries and in front end. My rule is not to use NULLs unless it's necessary:
>>>- In datetime columns
>>>- Foreign keys
>>>- Any other case where NULL is significant (represents absence of data or N/A).
>>
>>Thank you for your input. How do you handle "0" vs. nothing in a numeric field (or is this one of the special instances)?
>
>I would use (never had to) NULL if absence of data is not the same as 0 value.

OK, thank you.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform