Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BIT data type
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01475123
Message ID:
01475125
Vues:
53
>Hi:
>
>In a Bit datatype, what's the purpose of having a 'NULL' value? In what case/scenario do we encounter this kind of value? I'm just wondering so I'll be aware when using a Bit datatype.
>
>Thanks,
>Jan

If you don't set default value for the BIT type and if you insert a record without providing an explicit value, the bit value will become NULL.

You can consider this as "unknown" state or no answer given.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform