DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Import Error

  1. #1
    Join Date
    Apr 2007
    Location
    USA
    Posts
    110

    Import Error

    All,
    I run an import and get

    IMP-00058: ORACLE error 1461 encountered
    ORA-01461: can bind a LONG value only for insert into a LONG column
    IMP-00028: partial import of previous table rolled back: 40443 rows rolled back

    The export client is oracle 8i and import client is 11g.
    I know I could set NLS_LANG but I tried and it doesn't work yet.
    ===the 8i exporting database--
    SQL> select * from nls_database_parameters where parameter = 'NLS_CHARACTERSET';

    PARAMETER VALUE
    ---------------------- -------- ----------------------------NLS_CHARACTERSET US7ASCII

    ========the 11g importing database===

    PARAMETER VALUE

    --------------------- ---------------------
    NLS_CHARACTERSET AL32UTF8

    here is my NLS_LANG setting before running the import which failed..
    set NLS_LANG=AMERICAN_AMERICA.US7ASCII
    export NLS_LANG

    thanks...
    Looking for the greatest evil in the world? Look in the mirror.

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    How did you make the connection between that error result (inserting a LONG into a column that doesn't support LONG) and the character sets?

  3. #3
    Join Date
    Apr 2007
    Location
    USA
    Posts
    110
    Quote Originally Posted by stecal View Post
    How did you make the connection between that error result (inserting a LONG into a column that doesn't support LONG) and the character sets?
    because there is no LONG field on the table, the table is exported and imported as is...and some googling suggests is a client character set issue.
    Looking for the greatest evil in the world? Look in the mirror.

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    please post full import command.
    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