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
Outlook2007/ Exchange: Need password to connect
Can't send emails (Vista Business, United Kingdom, Demon Mailbox/Demon Broadband)
Import text file - definition (field name, delimited, lng) based on a table
PHP: import several RSS feeds into MySQL
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
Exchange database backup failing with Arcserve v15
Inserting Rows in Excel with VBA
Can I add multi-millions of records to SQL database while replication is on? Will it work?
How do i factory reset netvanta 1524st switch from the cli command line?
lower lights