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!

Looping through an xml query

3353740Feb 14 2018 — edited Feb 15 2018

I'm stuck trying to loop through an xml query cursor

I have something like....

cursor c_records

     is

     select (xmlelement("item",

                   .....

         ) as "items"

     from table x

     where.....

Now I would like to loop through my xml records but I'm having a hard time and display them using dbms_output.put_line() but i'm having a hard time.

Any suggestions?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2018
Added on Feb 14 2018
5 comments
2,269 views