I have a case statement that was very straightforward
CASE
code
WHEN '#' Then 'A'
WHEN '$' THEN 'B'
WHEN '%' then 'B'
WHEN '2' Then 'A'
WHEN '3' THEN 'c'
WHEN '4' then 'B'
ELSE ''
End
Now I've been asked to change it to add another vaiable, but just for one code. All of them stay the same except when code is 2.
If code 2 and LocationID is either '101','102','103' then it should be 'A'
code 2 and LocationID is either '110','112','113' then it should be 'B'
Is this possible? Thanks, J
'