I would like to execute a stored procedure MyProc with certain input parameters for each row in the table MyTable. Column for each row will act like input values for MyProc.
How do I accomplish this in SSIS? I have been told by upper management to use SSIS and I don't have any choice in this matter.
So.. I have done the following:
- Create package
- Create Execute SQL Task
- Created query inside ExecuteSQLTask
- Create Foreach Loop Container
- Create Data Flow Task inside Foreach loop container.
- Inside Data Flow Task I created OLE DB Source
- Connected OLEDBSource to Derived Column
- Enable DataViewer in connection in step 3.3
It looks like the DataFlowTask in step 3.1 is being called for all rows in step 2.1
What I want is to invoke DataFlowTask in step 3.1 to get called for each record in the row in step 2.1 AS OPPOSED TO all the records.
Once this works, then I intend to ExecuteSQLTask inside a ForEachLoopContainer.
