Share via


Configure a For Loop Container

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.

To configure the For Loop container

  1. In SQL Server Data Tools (SSDT), double-click the For Loop container to open the For Loop Editor.

  2. Optionally, modify the name and description of the For Loop container.

  3. Optionally, type an initialization expression in the InitExpression text box.

  4. Type an evaluation expression in the EvalExpression text box.

    Note

    The expression must evaluate to a Boolean. When the expression evaluates to false, the loop stops running.

  5. Optionally, type an assignment expression in the AssignExpression text box.

  6. 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.

  7. Click OK to close the For Loop Editor.

See Also

Tasks

Integration Services (SSIS) Expressions

Use Property Expressions in Packages

Concepts

For Loop Container