Tab

Sunday 26 June 2011

What is bit datatype and what's the information that can be stored inside a bit column?

Bit datatype is used to store Boolean information like 1 or 0 (true or false). Until SQL Server 6.5 bit datatype could hold either a 1 or 0 and there was no support for NULL. But from SQL Server 7.0 onwards, bit datatype can represent a third state, which is NULL.


--
For more articles, Please Visit : http://microsoft-sql-server-dba.blogspot.com/

No comments:

Post a Comment