SQL Server Boolean (bit datatype)

Posted by Derek D. on SQL Server Planet See other posts from SQL Server Planet or by Derek D.
Published on Sat, 10 Apr 2010 22:17:25 +0000 Indexed on 2010/04/10 22:23 UTC
Read the original article Hit count: 425

Filed under:
In SQL Server, boolean values can be represented using the bit datatype. Bit values differ from boolean values in that a bit can actually be one of three values 1, 0, or NULL; while booleans can only either be true or false. When assigning bits, it is best to use 1 or zero [...]

© SQL Server Planet or respective owner

Related posts about sql