what is bit data type? and what are the information that can
be stored inside a bit column?

Answers were Sorted based on User's Feedback



what is bit data type? and what are the information that can be stored inside a bit column?..

Answer / meena kurade

Bit datatype is used to store boolean information like 1 or
0 (true or
false). Untill 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.

Is This Answer Correct ?    3 Yes 0 No

what is bit data type? and what are the information that can be stored inside a bit column?..

Answer / sreejith s t


Bit is used to store boolean values . It stores 0 , 1 and
NULL .

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More SQL Server Interview Questions

my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

0 Answers  


What is delete query?

0 Answers  


How to write stored procedure to update the data in 10 tables

4 Answers  


How to delete existing triggers using "drop trigger"?

0 Answers  


How would you add a section to a table?

0 Answers  






Can we use pragma autonomous_transaction in trigger?

0 Answers  


Is it true, that there is no difference between a rule and a check constraint?

0 Answers  


What is a collation?

0 Answers  


Hello all, I have data like :- year amt 2004 10 2005 20 2006 30 Now i want output as:- 2004 2005 2006 10 30 60 but i have to use here group by on year.So, i need a single query within that i can find.

3 Answers  


How to provide column names in insert statements in ms sql server?

0 Answers  


What is the difference between migration and upgradation in sql server?

0 Answers  


Can anybody explain me cold backup and hot backup?

3 Answers   TCS,


Categories