Export (0) Print
Expand All

Foreach Loop Editor (Variable Mappings Page)

Use the Variables Mappings page of the Foreach Loop Editor dialog box to map variables to the collection value. The value of the variable is updated with the collection values on each iteration of the loop.

To learn about how to use the Foreach Loop container in an Integration Services package, see Foreach Loop Container . To learn about how to configure it, see How to: Configure a Foreach Loop Container.

The Microsoft SQL Server Integration Services tutorial, Creating a Simple ETL Package Tutorial, includes a lesson that teaches you to add and configure a Foreach Loop. For more information, see Lesson 2: Adding Looping.

Variable

Select an existing variable, or click <New variable...> to create a new variable.

NoteNote

After you map a variable, a new row is automatically added to the Variable list.

Related Topics: Integration Services Variables, Add Variable

Index

If using the Foreach Item enumerator, specify the index of the column in the collection value to map to the variable. For other enumerator types, the index is read-only.

NoteNote

The index is 0-based.

Related Topics: How to: Loop through Excel Files and Tables by Using a Foreach Loop Container

Delete

Select a variable, and then click Delete.

Community Additions

ADD
Show:
© 2014 Microsoft