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

Home -> Community -> Usenet -> c.d.o.server -> Re: Import problem

Re: Import problem

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 10 Mar 2005 00:26:02 +0100
Message-ID: <mb1v215l3cg8bmbbdtfj5parsb3bqt07e7@4ax.com>


On 9 Mar 2005 12:20:01 -0800, ford_desperado_at_yahoo.com wrote:

>I'm importing a schema dump into an empty schema
>
>import server uses UTF8 character set (possible charset conversion)
>export server uses WE8ISO8859P1 NCHAR character set (possible ncharset
>conversion)
>
>An import blows up claiming
>
>IMP-00019: row rejected due to ORACLE error 1401
>IMP-00003: ORACLE error 1401 encountered
>ORA-01401: inserted value too large for column
>
>The table being imported was created by import utility using byte
>semantics:
>
> STATE CHAR(2 BYTE),
> SITE CHAR(12 BYTE),
>
>If I create an empty schema, create the table manulally using char
>semantics:
>
> STATE CHAR(2 CHAR),
> SITE CHAR(12 CHAR),
>
>the import finishes all right.
>Is there nay way I can have import utility create new tables using char
>semantics?
>
>TIA
Please look at the first 2 lines of the import log. You are exporting in a characterset and semantics different from your target database. Obviously, you need to export with NLS_LANG set to <something>.UTF8

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Mar 09 2005 - 17:26:02 CST

Original text of this message

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