Scenario:
Database errors occurred:
ORA-00001: unique constraint (INF_PRACTICE1.SYS_C00163872) violated
Database driver error.
Function Name : Execute
SQL Stmt : INSERT INTO D_CLAIM_INJURY_SAMPLEE(CK_SUM,DM_ROW_PRCS_DT,DM_RO W_PRCS_UPDT_DT,CLAIM_INJRY_SID,DM_CRRNT_ROW_IND,INCDT_ID,ENAME,J OB,FIRSTNAME,LASTNAME) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Database driver error...
Function Name : Execute Multiple
SQL Stmt : INSERT INTO D_CLAIM_INJURY_SAMPLEE(CK_SUM,DM_ROW_PRCS_DT,DM_RO W_PRCS_UPDT_DT,CLAIM_INJRY_SID,DM_CRRNT_ROW_IND,INCDT_ID,ENAME,J OB,FIRSTNAME,LASTNAME) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Solution:
check the definition of unique index columns and then below query on source to fine out thd duplicate rows.
if index def like
create index on targettable(col1,col2,col3);
select col1,col2,col3,count(1)
from sourcetable
group by col1,col2,col3
having count(1)>1
either u have to delete those records from source or use agg in informatica mapping
I really enjoy your blog it's a nice post
ReplyDeleteInformatica Online Training Hyderabad