Configure a For Loop Container
Applies To: SQL Server 2016
This procedure describes how to configure a For Loop container by using the For Loop Editor dialog box.
For an example of the For Loop container, see SSIS Loops that do not fail on bimonkey.com.
In SQL Server Data Tools (SSDT), double-click the For Loop container to open the For Loop Editor.
Optionally, modify the name and description of the For Loop container.
Optionally, type an initialization expression in the InitExpression text box.
Type an evaluation expression in the EvalExpression text box.
The expression must evaluate to a Boolean. When the expression evaluates to false, the loop stops running.
Optionally, type an assignment expression in the AssignExpression text box.
Optionally, click Expressions and, on the Expressions page, create property expressions for the properties of the For Loop container. For more information, see Add or Change a Property Expression.
Click OK to close the For Loop Editor.