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!

how to update all the nodes in XML ( no of nodes is more than 2500) using xquery statement

3322907Feb 28 2017 — edited Mar 5 2017

I have an XML having more than 2500 nodes, I want to update all the values using xquery statement.

I have written the sample PLSQL block here

https://livesql.oracle.com/apex/livesql/file/content_EM3I5LRDTVANV3XRO2GR7RAFM.html

This is working fine as far as number of nodes is less than or equal to 2426.

Once the number of node exceeds 2426, xmlupdate is giving this error message.

ORA-19112: error raised during evaluation:

XVM-00004: internal error "code buffer overflow"

0 declare default element namespace "http://www.mywrb.com/test/myspace";

(: - ^

ORA-06512: at line 38

ORA-06512: at "SYS.DBMS_SQL", line 1721

Is there any limitation in the xquery to update the nodes?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2017
Added on Feb 28 2017
17 comments
1,403 views