Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Inserting Large Amount of Data into LONG
Hello:
I have an engineer who would like to insert roughly 11K into a LONG column through SQL. It's ASCII "formatted" data (with carriage returns, spaces, etc.) that we will receive via XML. We can massage, reformat as needed but it needs to go into a LONG (using CLOB not an option due to other application incompatibilities).
Straight SQL doesn't work (length of the quoted string too long) and I tried creating a Stored Proc to handle it, but I get Invalid Sql Statement - due I think to the presence of the carriage returns, which Oracle is not recognizing as a continuation from the previous line.
Any thoughts on how to proceed?
Thanks
-bill magaliff
![]() |
![]() |