我怎样才能从C.Carrier
变量中获取不为空的值@status = 'Completed'
,就像这样
WHERE CASE WHEN @Status = 'Completed' THEN C.Carrier IS NOT NULL END
我怎样才能从C.Carrier
变量中获取不为空的值@status = 'Completed'
,就像这样
WHERE CASE WHEN @Status = 'Completed' THEN C.Carrier IS NOT NULL END