Performing a simple CDC package load insert and update records. Inserts are fine.
I have an ID field as Primary Key that is coming from source. If I perform an update on a non-key field in source it flows correctly to the Update path from the CDC Splitter, but I get primary key violation due to an attempted insert on the destination. Why is it attempting an insert?
I don't see too many ways to customize this or force the update path to only perform updates. There must be something designating it needs to insert or update that I don't see.
The target PK was created after the initial package was built and I truncated and reloaded the unchanged data ok. I tried dropping and re-adding destinations after that thinking perhaps the package needed the schema def updated.
I don't have to use a CDC splitter, I would prefer to though if I can get the behaviors figured out.
(VSTS 2017, Sql server 2017, Sql server data tools 15.1.61808...)
thanks,
Aaron