Page 1 of 1

Duplicate insert warning in the Database

Posted: Mon Jul 30, 2007 5:07 am
by prajish_ap
INSERT,0: [DataDirect][ODBC SQL Server Driver][SQL Server]Cannot insert duplicate key row in object 'dbo.TableA' with unique index 'XPKTableA_SEQ'.

Posted: Mon Jul 30, 2007 5:57 am
by sanjay.v
i think your write method is upsert and upsert mode is insert only..and you are trying to insert a duplicate record into the table... check whether the option - output reject records is set to true...and try capturing the rejects...

Hi

Posted: Mon Jul 30, 2007 6:19 am
by Akumar1
Better filter the data in the source systems itself for duplication handling.

Regards,
Akumar1:)
sanjay.v wrote:i think your write method is upsert and upsert mode is insert only..and you are trying to insert a duplicate record into the table... check whether the option - output reject records is set to true...and try capturing the rejects...