-1

What is the Difference between Bit and Boolean?

Why can't we use boolean in SQL Server 2017.

I tried to use bool in SQL query it showing error.

a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843
harsha reddy
  • 72
  • 13

1 Answers1

3

There is no boolean in SQL Server. Instead it uses BIT type to store 0 or 1.

You can refer this for more info

Jibin Balachandran
  • 3,271
  • 1
  • 21
  • 38