Using Like Operator in a decode function
AHSJul 26 2010 — edited Jul 26 2010Hi,
I am trying to find out if I can use the like operator in a decode function
like:
select decode(1234,like '%123%','123 is a match') from dual;
this reults in error ORA-00936: missing expression
is there any way to make this work?
thank you