Viewing 2 posts - 1 through 2 (of 2 total)
I think":
" Converting to bit promotes any nonzero value to 1" not greater than zero only Because
DECLARE @bit BIT
SET @bit = -14
IF @bit = 1PRINT 'yes'ELSE PRINT 'no'
is...
September 16, 2010 at 11:46 pm
#1222749
isnull function select the 1 whn @var is null or first time , second time @var=2 , n third time it will 3 n next so ans is...
August 29, 2008 at 1:14 am
#864847