What is the use of bit data type and what kind of data is stored into it?
Interview question and answer by:
Poster | Posted on: 6/17/2009 | Category:
SQL Server Interview questions | Views: 1653 |
Answer:
Bit datatype is used to store boolean information like 1 or 0 where 1 is considered as true and 0 is considered as false.
While querying the database we need to use 1 or 0 in the select statement to filter out the data instead of true and false.
Asked In: Many Interviews
|
Alert Moderator
Found interesting? Add this to: