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
Grabbing some word using regular expressions
Multiple repeat regions on 1 page with 1 recordset
How can you search e-mail within Outlook 2010 and not use the index?
Roaming Profiles in Windows 7 Pro and SBS 2008
SQL 2005 Formatting help for Flat File
Backup jobs in Symantec Backup Exec 11d keep failing (due to lack of free space on destination drive, I believe). How can I fix this? The job logs have been attached
Windows XP does not see other computers on the workgroup
check_directory_files
Firebird AutoID VB.net code
get last 4 digit