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 Insert a large XML file into a clob

guyenkoMay 27 2014 — edited May 28 2014

Oracle Database 11.2.0.4

Oracle REST Data Services 2.0.7

Windows 2008R2

Hello,

I have a 57k xml file that I would like to insert into a clob column. When I try, I get PLS-00172 "string literal too long".

External tables, sql loader and insert from a file are not an option.

Should I chunk the file? how? Any advice will be appreciated.

Guyenko

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2014
Added on May 27 2014
4 comments
8,571 views