Showing posts with label containers in control flow task. Show all posts
Showing posts with label containers in control flow task. Show all posts

Sunday, August 28, 2016

SSIS For Loop Container Task

SSIS For Loop Container Task:

Why For Loop Container Task is Use ?
  • Name of the task itself explains most of of it !! For Loop container is falls under container and looping tasks
  • Use containers like the For Each Loop and For Loop to execute a set of tasks multiple times.
  • For example, you can loop over all the tables in a database, performing a standard set of operations like updating index statistics. 
    In short when we have to iteratively execute set of task we will insert all those task under For Loop Container and set the values accordingly
  • For loop task is the looping implementation of a task and also This task will evaluate an expression and loops through the process and until the evaluation goes to False.
The For Loop container uses the following elements to define the loop:
  1. An optional initialization expression that assigns values to the loop counters.
  2. An evaluation expression that contains the expression used to test whether the loop should stop or continue.
  3. An optional iteration expression that increments or decrements the loop counter.