Question

I need to create an SSIS package that will do the following:

  1. Connect to Service A and download recent activity records. These records contain an User Id and an activity code.

  2. Iterate through the results of the result set from Service A and connect to Service B retrieve additional details for each User Id (name, department, etc.).

  3. Put all of the results from this "two pass" scenario into a DataTable on our SQL Server.

I'm able to do parts 1 and 3 without issue, but I'm having difficulties in how to implement part 2.

Do I put the results from part 1 into the destination table and then iterate through the results in a second Data Flow Task? Or is there a way to "append" the results from steps 1 and 2 into a single table/file/etc. and push the results into the destination table all at once?

I'm seeing all the controls available in BIDS, but can't seem to make them fit.

Was it helpful?

Solution

In the dataflow tab:

  1. Use 1 of the dataflow sources (XML source)
  2. Use the Lookup Transformation
  3. SQL Destination
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top