WARNING: as primary key violated
Posted: Sun Aug 10, 2008 11:59 pm
Hi all,
I am using ODBC_src-->TRF-->ODBC_trg, ODBC_trg has composite primary keys while I am running this job my job runs successfully, but i am getting 2000+ warnings... like
JobName..Trf.Lnk_: DSD.BCIPut call to SQLExecute failed.
SQL statement: INSERT INTO TABLE NAME(FIELDNAME) VALUES (?,?,?,?,?,?,?,?,?,?)
SQLSTATE=23000, DBMS.CODE=1
[DataStage][SQL Client][ODBC][DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-00001: unique constraint (RELODS.CDA_MASTER_PK) violated
but when I added a sequential without mentioning any key columns and constraint as REJECTED.
the job runs without any warnings! no rows were rejected to sequential file
Though the job run's successfully! I want to understand this behaviour
Any clarifications are welcomed
Thanks in advance
I am using ODBC_src-->TRF-->ODBC_trg, ODBC_trg has composite primary keys while I am running this job my job runs successfully, but i am getting 2000+ warnings... like
JobName..Trf.Lnk_: DSD.BCIPut call to SQLExecute failed.
SQL statement: INSERT INTO TABLE NAME(FIELDNAME) VALUES (?,?,?,?,?,?,?,?,?,?)
SQLSTATE=23000, DBMS.CODE=1
[DataStage][SQL Client][ODBC][DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-00001: unique constraint (RELODS.CDA_MASTER_PK) violated
but when I added a sequential without mentioning any key columns and constraint as REJECTED.
the job runs without any warnings! no rows were rejected to sequential file
Though the job run's successfully! I want to understand this behaviour
Any clarifications are welcomed
Thanks in advance