ORA-02374: Conversion error loading table, ORA-02374: Conversion error loading table during impdp

ORA-02374: Conversion error loading table, ORA-02374: Conversion error loading table during impdp

During import data through impdp on target database facing the below error:-

ORA-02374: conversion error loading table "FINNONELOS"."LOS_DEDUPE_CUSTOMER_HST"

ORA-12899: value too large for column PROPERTY_ADDR1 (actual: 102, maximum: 100)

 

ORA-02372: data for row: PROPERTY_ADDR1 : 0X'464C4154204E4F2E203530312C203520544820464C4F4F5220'

 


Import completed with error [ i.e partially imported data in "FINNONELOS"."LOS_DEDUPE_CUSTOMER_HST table]

Follow the below steps for the solution:-

o   Describe the table and modify the column size accordingly.

SQL> desc FINNONELOS.LOS_DEDUPE_CUSTOMER_HST

 Name                                      Null?    Type

 ----------------------------------------- -------- -----------------

 ..

 ..

 PROPERTY_ADDR1                                     VARCHAR2(100)

 ..

 

SQL> alter table FINNONELOS.LOS_DEDUPE_CUSTOMER_HST modify PROPERTY_ADDR1 VARCHAR2(105);

 

Modify the column size from VARCHAR2(100)to VARCHAR2(105).

o   Now going to perform the import using the below script for particular table.

 

impdp system/password@FINDEV directory=IMPDP dumpfile=findev_expdp_%U.dmp tables=FINNONELOS.LOS_DEDUPE_CUSTOMER_HST logfile=DEDUPE_CUSTOMER_HST.log table_exists_action=truncate

  


Now Import of FINNONELOS.LOS_DEDUPE_CUSTOMER_HST table has been successfully completed without any error.

 


Note: - Mainly the error occurred when the source (expdp) and target (impdp) database character sets are different, for checking the same use the below views

select value,parameter from NLS_DATABASE_PARAMETERS where PARAMETER like '%CHARACTERSET';

 

 Some more articles you might also be interested in :-

   Distributed transaction in oracle

   ORA-02050: transaction rolled back, some remote DBs may be in-doubt

   ORA-01591: lock held by in-doubt distributed transaction

   ORA-31693: Table data object failed to load/unload in expdp

 -

Comments

Popular posts from this blog

Remove ACL and privileges, Drop ACL in oracle

ORA-02050: transaction rolled back, some remote DBs may be in-doubt

Distributed transaction, Oracle Distributed Transactions, distributed transaction in oracle