Hi,
I’ve got an issue during data import in SSIS, any ideas or comments will be helpful. Many thanks:
The issue is link to Primary key constraint : I can’t find a way to skip the record with same primary key. Here’s the example:
I’ve got a table in the database with 2 columns: ID and Value, which ID is set as Primary Key in Table A.
Table A
ID Value
A1 10
A2 20
B1 30
B2 40
However during data import from a flat file B in SSIS, there exist one record with the same ID A1 inside the file:
Flatfile B
ID Value
A1 20
A3 50
What I try to do is to skip that specify record but continue loading the others, in the case above, A1 with value 20 will need to be skipped and log (maybe log as error file), A3 with value 50 will need to be imported.
Any idea how to achieve this in SSIS ? Many thanks
Regards
Stephen