AtlPayroll
Technical User
I'm creating a Derived field.
I've got a CASE statement that currently works:
CASE "JOB"."JOBCODE"
WHEN 'COP367'
THEN 'YES'
ELSE 'NO'
END
What I'm needing is to incude a an IN statement
CASE "JOB"."JOBCODE"
WHEN IN('COP367','COP368','COP369')
THEN 'YES'
ELSE 'NO'
END
But I get an ORA-00936: missing expression error. Does anyone know what I'm doing wrong?
Thanks,
I've got a CASE statement that currently works:
CASE "JOB"."JOBCODE"
WHEN 'COP367'
THEN 'YES'
ELSE 'NO'
END
What I'm needing is to incude a an IN statement
CASE "JOB"."JOBCODE"
WHEN IN('COP367','COP368','COP369')
THEN 'YES'
ELSE 'NO'
END
But I get an ORA-00936: missing expression error. Does anyone know what I'm doing wrong?
Thanks,