Transform query to XML

Oracle has neat standard functionality to transform a query to qml.

Sample code:

select dbms_xmlgen.getxml(’select * from user_tables’)
from dual;

Leave a Reply

Your email address will not be published. Required fields are marked *