日期:2014-05-17 浏览次数:20464 次
if(@strValue = '' Or @strValue is null)
Declare @v1 as varchar(10) = '1';
If(LEN(@v1) != 0 And @v1 is not null)--如果不为空串且不为null
print('yes');
DECLARE @STR VARCHAR(20)
IF(ISNULL(@STR,'')='')
BEGIN
PRINT 1;
END
ELSE
PRINT 0;