写SqlServer存储过程传参数bit类型问题

2024-12-04 05:03:24
推荐回答(2个)
回答1:

IF @Status <> NULL BEGIN
......
END ELSE BEGIN
....
END

回答2:

if( @Status is null)
.... do something