I am struggeling to replace values in a table with images using DECODE as shown here"https://apex.oracle.com/pls/otn/f?p=21195:1:0:::::.
The query in itself is no problem and works fine:
SELECT JOB_NAME Job, DECODE(ENABLED, 'TRUE', '<img src="/i/orcl/up.gif">', 'FALSE', '<img src="/i/orcl/down.gif">') AS Status
FROM USER_SCHEDULER_JOBS
Easy peasy, but...
Somewhere along the line the bracket < and > are replaced with < and > and the quotes with ".
As a result, the browser literally shows <img src="/i/orcl/up.gif"> and no image.
What a I doing wrong?