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
Firewall & Windows Security Center
paypal mass payment api
WSUS Clients not reporting to the WSUS console or SBS 2008 Console
Need a "quiz" application that saves to a database
Broken WSUS on SBS 2003 because of MSDE
reCAPTCHA PHP not failing when nothing is entered; works fine when something is entered
How do I activate a product key for Windows 7 professional on a pushed machine
I have a coolmax eSATA drive enclosure with a seagate SATA drive
xp sp2 clients wont log or ping server 2003
Giving permission for stream writer to write in C:/ drive