Hi
I would like to run a query like this :
select * from TABLEA where st in (case @StateOfEmpolyee when @StateOfEmpolyee in (17,41) then (41,17) else (13) end)
but it throws syntax error.
Hi
I would like to run a query like this :
select * from TABLEA where st in (case @StateOfEmpolyee when @StateOfEmpolyee in (17,41) then (41,17) else (13) end)
but it throws syntax error.