"CASE WHEN" operator in "IN" statement

Viewed 1386

I've stuck in an MS SQL SERVER 2012 Query. What i want, is to write multiple values in "CASE" operator in "IN" statement of WHERE clause, see the following:

WHERE [CLIENT] IN (CASE WHEN T.[IS_PHYSICAL] THEN 2421, 2431 ELSE 2422, 2432 END)

The problem here is in 2421, 2431 - they cannot be separated with comma. is there any solution to write this in other way? thanks.

3 Answers
Related