DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008

    Problem while inserting into CLOB column

    Hi all,

    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.

  2. #2
    Join Date
    Mar 2007
    Ft. Lauderdale, FL
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width