SyntaxFix
Write A Post
Hire A Developer
Questions
SQL Server recognizes 'TRUE' and 'FALSE' as bit values. So, use a bit data type!
'TRUE'
'FALSE'
bit
declare @var bit set @var = 'true' print @var
That returns 1.
1