Issue with tMSSqlOutput - Primary key violation

Highlighted
One Star

Issue with tMSSqlOutput - Primary key violation

hi,

As i try to insert data, im havving the error;

[statistics] connecting to socket on port 3844
[statistics] connected
Violation of PRIMARY KEY constraint 'PK_B_EQ1996'. Cannot insert duplicate key in object 'dbo.B_EQ1996'. The duplicate key value is (0).
[statistics] disconnected
Job asdasd ended at 04:34 04/05/2016. [exit code=0]

But the component explanation says job will continue;

Insert
[font='Helvetica Neue', Helvetica, Arial, sans-serif]With the Insert action, data will be inserted. If a Primary Key violation occurs, this will be reported, but the Job will continue.[/font]



How can i continue tracnsation even primary key violation occurs?

thanks!

One Star

Re: Issue with tMSSqlOutput - Primary key violation

attached the job


One Star

Re: Issue with tMSSqlOutput - Primary key violation

Do you want to terminate and expect the job to fail? If so, go ahead and make check mark on "Die on error" check box.

Hope it helps

Thanks
Rohan Suresh

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog