Export/import on table with clob datatype column
How to export and import a table that has a clob datatype column? I am getting the following errors during export and import:
. . exporting table                    V_VWORKFLOW
EXP-00056: ORACLE error 24801 encountered
ORA-24801: illegal parameter value in OCI lob function

**************************

. . importing table                  "V_VWORKFLOW"
IMP-00009: abnormal end of export file
IMP-00064: Definition of LOB was truncated by export
IMP-00028: partial import of previous table rolled back: 
11 rows rolled back Import terminated successfully with warnings.

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

You are probably getting this error due to differences in your Oracle versions. As a good rule of thumb, use the lower version of export to create the dump file. Then use the destination version of imp for the import process. For instance, if I am copying data from a 10g database to an Oracle 8i database, I use the 8i export utility and the 8i import utility. If I am copying data from a 9i database to a 10g database, I use the 9i export utility and the 10g import utility.

This was first published in January 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.