Skip to Main Content

Database Software

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!

xmltype extract character buffer too small

Mark ReichmanOct 19 2006 — edited Oct 26 2006

Ok.. Im new at this so be gentle..

Im doing this...

select xmltype(image.docxml_frm).extract('/Accident/Case/Diagram/text()').getStringVal()
from accident_image image
where case_num like '%SP%';

but Im getting this...

ora-06502 PL/SQL: numeric or value error: character string buffer too small

How do I declare the buffer larger? this is a clob field which contains xml ofcourse..

This is the way this table was handed to me. I plan on making a view from this xml file in the clob and query it with sql/oracle form.

good or bad idea?

Message was edited by:
Mark Reichman

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2006
Added on Oct 19 2006
5 comments
3,280 views