I have this query:

select nm_strgp brand 
from co_strgp
where id_strgp_lv='2';

One value in this column is HOLLAND & BARRETT but i want to display it as HOLLAND & BARRETT in BI publisher. How can I achieve this?

有帮助吗?

解决方案

You can use DBMS_XMLGEN.CONVERT to unescape the special XMLcharacters.

SQL> select DBMS_XMLGEN.CONVERT('HOLLAND & BARRETT',1) from dual;

DBMS_XMLGEN.CONVERT('HOLLAND&BARRETT',1)
--------------------------------------------
HOLLAND & BARRETT
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top