For example, I have a table Products. The primary key is an Identity column. Once the SSIS insert is complete, the bulk load of new Product has an identity ID value for each row. What I want to do, during the same SSIS package, is to take each row as it is inserted and add rows to other tables. Like, ProductsImages - it has a foreign key for the Product id and a foreign key to the ProductsImages being added. And, as part of this I will need to get the latest ID value and possibly some other values and store them in variables.
Thanks


Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 10:35 PM EDT
Ravi KumarRank #2,085 · 690 reputationPosted Oct 6, 2015, 10:53 PM EDT
Amit ShrivastavaRank #5,080 · 312 reputationPosted Oct 6, 2015, 11:08 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 6, 2015, 11:16 PM EDT