Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

CDC Splitter UpdateOutput path - why is this performing inserts rather than updates

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>