← Articles
SQL Shack · December 04, 2019

SSIS Foreach Loop vs For Loop Container

This article compares the Foreach Loop and For Loop containers in SSIS. It explains enumerators for iterating over files, objects and collections, as well as the initialization, evaluation and assignment expressions used to control a conventional loop.

Examples illustrate how the choice depends on whether the workflow traverses a collection or repeats until a condition is no longer satisfied. Both containers help automate repetitive control flow operations.

Visit original source ↗

Search website

Type to search the portfolio.

↑ ↓ Navigate · Enter to open · Esc to close