Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BIT data type
Message
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01475123
Message ID:
01475125
Views:
52
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform