Multilingual Support Parameters [message #518473] |
Thu, 04 August 2011 01:31 |
|
dkdms2124
Messages: 369 Registered: April 2010 Location: INDIA
|
Senior Member |
|
|
Hey Everyone,
I had an dump file which contains multilingual data in the table but when I tried to do import in my database I got below mentioned error.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\dsharma>cd\
C:\>imp hell2/hell2 file='D:\SHARED\hell.dmp' full=y
Import: Release 11.2.0.1.0 - Production on Thu Aug 4 11:42:02 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by HELL, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing HELL's objects into HELL2
. . importing table "EMP"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 14, maximum: 10)
Column 1 7499
Column 2 ALLéNALLéN
Column 3 SALESMAN
Column 4 7698
Column 5 20-FEB-1981:00:00:00
Column 6 1600
Column 7 300
Column 8 30
Column 9
Column 10 0
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 14, maximum: 10)
Column 1 7566
Column 2 JONéSJONéS
Column 3 MANAGER
Column 4 7839
Column 5 02-APR-1981:00:00:00
Column 6 2975
Column 7
Column 8 20
Column 9
Column 10 0
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 14, maximum: 10)
Column 1 7698
Column 2 BLAKéBLAKé
Column 3 MANAGER
Column 4 7839
Column 5 01-MAY-1981:00:00:00
Column 6 2850
Column 7
Column 8 30
Column 9
Column 10 0
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 12, maximum: 10)
Column 1 7844
Column 2 TURNéRTURN
Column 3 SALESMAN
Column 4 7698
Column 5 08-SEP-1981:00:00:00
Column 6 1500
Column 7 0
Column 8 30
Column 9
Column 10 0
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 14, maximum: 10)
Column 1 7900
Column 2 JAMéSJAMéS
Column 3 CLERK
Column 4 7698
Column 5 03-DEC-1981:00:00:00
Column 6 950
Column 7
Column 8 30
Column 9
Column 10 0
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "HELL2"."EMP"."ENAME" (actual: 12, maximum: 10)
Column 1 7934
Column 2 MILLéRMILL
Column 3 CLERK
Column 4 7782
Column 5 23-JAN-1982:00:00:00
Column 6 1300
Column 7
Column 8 10
Column 9
Column 10 0 8 rows imported
Import terminated successfully with warnings.
C:\>
My database is having the default characterset WE8MSWIN1252 and the value for "NLS_LENGTH_SEMANTICS" is "BYTE". I changed it to "CHAR" but nothing changed.
Thanks
Deepak
|
|
|
Re: Multilingual Support Parameters [message #518479 is a reply to message #518473] |
Thu, 04 August 2011 01:44 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
UTF8 is a varying-length character set which means that each character can take from 1 to 3 bytes, so your error.
You have to change all your varchar2 column length semantics from BYTE to CHAR using "ALTER TABLE MODIFY...".
The parameter NLS_LENGTH_SEMANTICS is effective for the future tables.
Regards
Michel
[Edit: add last sentence]
[Updated on: Thu, 04 August 2011 01:46] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|