Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: IMP-00020: long column too large for column buffer size (22)

Re: IMP-00020: long column too large for column buffer size (22)

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Thu, 07 Aug 2003 10:39:24 -0800
Message-ID: <F001.005C97E7.20030807103924@fatcity.com>


Prasada.Gunda_at_hartfordlife.com wrote:
>
> Hi All,
>
> One of our developer ftp'ed the export (dmp) file from UNIX to NT in ASCII
> mode. He didn't know that it supposed to be done in BINARY mode. Now, he
> ftp'ed the dmp file back to UNIX in ASCII mode and tried doing the import.
> Looks like dmp file has been corrupted and Import is giving the following
> error.
>
> IMP-00020: long column too large for column buffer size (22)
> IMP-00028: partial import of previous table rolled back: 16380 rows rolled
> back/
>
> Is there any way to fix the dmp file. Any ideas? I searched the metalink
> and looks like there is no way to correct it.
>
> It is on HP-UX and oracle 8.1.7.4
>
> I appreciate your help.
>
> Thanks.
>
> Best Regards,
> Prasad
> 860 843 8377
>

Forget about it. The ASCII transfer must be doing something like adding a line feed after each carriage return (Unix to DOS). However, in binary data such as the Oracle dmp, nothing says that the byte value 13 should never follow byte value 12 - and the 'back ASCII ftp' just removed every 13 after every 12, thus corrupting some data. You're toast, just export the data again.

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Aug 07 2003 - 13:39:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US