Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
#SQLServer 46
SQL Server 44
SSRS EXPERT 41
BI 36
#BI 33
brh 28
SSIS BEST PRACTICES 23
TSQL 19
MS BI STACKS 18
SSRS 17

Archive · View All
March 2011 24
July 2011 17
February 2011 15
April 2010 13
June 2011 11
May 2011 11
April 2011 11
July 2010 11
March 2010 8
December 2011 7

SSIS – Use “Foreach Loop Container” and pass a variable to a OLE DB Source in a Data Flow

Mar 6 2011 2:40AM by Sherry Li   

OK, let’s continue from the last blog SSIS – “Full result set” to a set variable of Object.

We have read a list of dates from a SQL query into a set variable vLoopSet.

Now we are ready to pass vLoopSet into a Foreach Loop Container.

Step 1: Create a Foreach Loop Container

In the Collection tab, pick Foreach ADO Enumerator as Enumerator. There are many choices for the Enumerator. I have not worked with types other than Foreach ADO Enumerator.

Then in the Enumerator configuration section, pick User::vLoopSet as the ADO object source variable, and rows in all the tables as Enumeration mode.

In the Variable Mappings tab, add a mapping by setting User::vLoopDate as Variable, and 0 (zero) as Index. Index 0 (zero) indicates that we want to use the first column from the result set.

vLoopDate is a previously created variable.

Tags: SSIS BEST PRACTICES,


Sherry Li
14 · 12% · 3697
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]