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
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 |
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 |
What information is maintained within the msdb database?
How to get max 100 values from sql server
How do I compare two values when one value(data type) is char and the other is an integer?
How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?
What is trace flag in sql server?
What is an execution plan? When would you use it?
When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?
what is the difference between procedure and function.
How to define output parameters in stored procedures?
Can group functions be mixed with non-group selection fields in ms sql server?
What is the maximum row of a size?
how many type of indexing in database?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)