How do you use the IN operator within a case statement?
For example I need to do the following
Category =
CASE J.JobCodeDMID
WHEN IN(77,98,965) THEN 'Administration'
WHEN IN (62,102,654) THEN 'Teachers'
WHEN IN (73,34,693) THEN 'Support Staff'
END
It seems like I can not use the IN operator in the case statement. Is this true?
Thanks!!!!!
For example I need to do the following
Category =
CASE J.JobCodeDMID
WHEN IN(77,98,965) THEN 'Administration'
WHEN IN (62,102,654) THEN 'Teachers'
WHEN IN (73,34,693) THEN 'Support Staff'
END
It seems like I can not use the IN operator in the case statement. Is this true?
Thanks!!!!!