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
Explain plan in Oracle
DBGrid's content into email
Code in SQL 2000 not parsing/running in SQL 2005 Query Analyzer
Check colum A for names in the name matches a sheet name in any workbook then copy to the sheet where we are quering from.
Blackberry not activinating on BES
Need solution to convert Java 1.6 application into C# project
Unable to Search Empty Folders
Event ID 37 Microsoft-Windows-Kernel-P
rocessor-P
ower
Before unload
How to connect to Oracle 11g as "SYS" from PB