try to use case in t-sql like:
case when not null(select * from tab) then 1
else 0
end
or
case when not exists(select * from tab) then 1
else 0
end
it gives me syntax error at when.
How to fix it?
try to use case in t-sql like:
case when not null(select * from tab) then 1
else 0
end
or
case when not exists(select * from tab) then 1
else 0
end
it gives me syntax error at when.
How to fix it?