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
VC++ hiding console
Oracle Fail Safe Setup
Additional Domian Controler having windows 2008
Printer Migration from Windows 2003 to Windows 2008 R2
VBScript to check if a account exist then what memebership it has
how to load ipt_REDIRECT.ko
Developing Web Services
A_POLICY_VIOLATED_FILE_WAS
_DETECTED_
AND_REMOVE
D
mstsc rdpfile published on citrix
Looking for IP and Mac addresses for all devices on network