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

SSIS Use Lookup transformation to flag a variable to either flow through update statement or insert new records.

$
0
0

I'm seeking a design and set variable assistance in my SSIS package. 
I currently have a merge join and I pass data through a lookup and I need to set a variable @updateflag = 1 if there is a match or set @updateflag = 0 if there is no match(new records).  I will then need to have this data flow by a conditional split join to Update a table on set of fields if the flag is set to 1 or insert new records if there are new records.  Please let me know if you need additional information.

Please see design of my package in the link.

https://1drv.ms/i/s!AsAeRbH-asQpdw8lVk7MG1kCWS4


Paul Hinostroza


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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