Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML Output issue

User_GTJEPNov 12 2018 — edited Nov 12 2018

Hi All,

I am getting issue while trying to see XML results in Oracle SQL Developer. When results set are small I am able see results through DBMS_OUTPUT but getting issue when XML output is big.

My Code;

Declare

  l_outputXML CLOB;

Begin

     abcd.table_data(p_outputXML => l_outputXML);

  dbms_output.put_line('l_outputXML : -'|| nvl(l_outputXMKL,'NULL,));

end;

When xml is returning 50 records I am able to see results in SQL Developer but when query is returning 200 records not able to see results and getting erorr

ORA-06502 : PL/SQL numeric or Value error.

Question, how to see large XML results in Oracle SQL Developer. This is required to debut some results via XML.

Thanks in advance.

Rick

Comments
Post Details
Added on Nov 12 2018
6 comments
580 views