I have the below query. How to keep the apostrophe ('
) intact and not getting it replaced by &apos
There are other characters also I want to handle like &
SELECT RTRIM(XMLAGG(XMLELEMENT(E,'I''m'||':')).EXTRACT('//text()'),':')
FROM dual;
Output:
I'm
Thanks.