我需要通过在sql server 2008中使用if条件来检查@SupplierCategory
并且@SupplierCode
不等于null
e.g
if (@SupplierCategory != null && @SupplierCode != null )
begin
end
else
begin
end
怎么做...谢谢
答案 0 :(得分:2)
if (@SupplierCategory is not null AND @SupplierCode is not null )
begin
end
else
begin
end