Problem while inserting into CLOB column
i have a java program that inserts a CLOB column into my oracle table. i have taken the backup of a row from this table (an insert script) and deleted the row the my table. Again when i run the insert script (backup), it is throwing an exception "ora-01704: string literal too long" while inserting the CLOB column.
Please help as this is a show-stopper to us. Thanks in advance.
Message is pretty clear, your literal is too long... long literals have to be handled resorting to DBMS_LOB package.
Last edited by PAVB; 07-02-2008 at 01:02 PM.
Pablo (Paul) Berzukov
Author of Understanding Database Administration
available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Click Here to Expand Forum to Full Width