How I shoud use BIT in MS SQL 2005
- by adopilot
Regarding to SQL performance.
I have Scalar-Valued function for checking some specific condition in base,
It returns BIT value True or False,
I now do not know how I should fill @BIT parameter
If I write.
set @bit = convert(bit,1)
or
set @bit = 1
or
set @bit='true'
Function will work anyway but I do not know which method is…