Microsoft
Software
Hardware
Network
Question : SSIS: parsing through recordsets in ForEach loop
Greetings!
does anyone have any links to sample code or tutorials on building the following scenario:
Having nested ForEachLoop containers where each nested section makes reference to RecordSets built in the parent container from Script and DataFlow tasks? (especially referencing global variables from with an ADO.NET source sql command (using @User::variable in the SELECT statement isn't working for me).
so for example:
Populate RecordSetA
Loop for each
Populate RecordSetB based on record in RecordSetA
Loop for each
Populate RecordSetC based on record in RecordSetB
Loop
Thanks for any input!
Answer : SSIS: parsing through recordsets in ForEach loop
Create a SSIS variable (type object) for each recordset
Create one data flow to populate each one, and use the ForEachLoop container to read each record in the recordset... for Enumerate ADO.
regards
Pedro
Random Solutions
SQL sub query help needed
Pervasive SQL 9.5 - odbc SELECT Query - DATE = '0000-00-00'
How to deny write to the desktop for users?
Saving Favorites in Windows 7, IE 8
How to fix - File system full on disk - error during reboot?
Deploy Printer Drivers to WinXP Computers
Custom control communicating an event to parent form
yum install 7 Zip
WCF hosted on IIS: Why doesn't it show me the WCF method name and it's signature?
External Monintor won't work w/ Toshiba laptop; it USED to; fn (f5) doesn't "stick"