Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Old Forums
 CLOSED - General SQL Server
 Regarding The Bit Data Type

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-06-23 : 10:34:42
Rami Sahyouni writes "This can hold integer data type 1, 0, or NULL. One bit can be either 1 or 0. How can it also hold the NULL value?
Thank you very much"

raymondpeacock
Constraint Violating Yak Guru

367 Posts

Posted - 2004-06-23 : 10:37:36
NULL isn't stored for the column as string or value, it is unassigned. It is not 1 or 0 so therefore is NULL.


Raymond
Go to Top of Page
   

- Advertisement -