方法如下:
select
decode(TEST_RESULT,null,'N/A','<a target = "_blank" href="'||REPORT_URL||'">Test Result</a>') as "Result"
from TestTable
where Test_ID=123456
如果TEST_RESULT的值非空,则显示为一个link。
注意,在Result还需要做以下设置:
将column attribute的Display As属性设置为Standard Report Column,如下图所示:
参考:
【1】How can I get an image or link to show up in an Oracle APEX CLASSIC Report?