1. ssis-sequence-container

Sequence Container - SSIS Control Flow


The syntax for creating a sequence container in SSIS Control Flow is as follows:

  1. Right-click on the empty area of the Control Flow tab.
  2. Hover over "Containers".
  3. Select "Sequence Container".
  4. Name the container and configure its properties as needed.


Sequence Container Example

In this example, we have two Execute SQL tasks that need to be run sequentially. We can achieve this by placing them inside a sequence container.


The output of the sequence container depends on its success or failure. If all tasks inside the container succeed, the container will report success. If any task fails, the container will report failure.


A sequence container in SSIS Control Flow is a logical grouping of tasks that should be executed in a specific order. You can add multiple tasks inside a sequence container, and they will be executed in the order in which they appear. The container executes all tasks within it as a single unit and provides status of whether that unit is successful or not. This can be useful when you have a series of tasks that depend on each other and need to be run in a specific order.


Some use cases for sequence containers include:

  • Grouping related tasks together to make the Control Flow more organized and easier to understand.
  • Ensuring that a set of tasks is executed in the correct order.
  • Encapsulating a section of the Control Flow so that it can be copied or moved as a single unit.
  • Providing a way to handle errors that may occur in a set of tasks.

Important Points

  • A sequence container can contain any number of tasks, but they must be executed in the order in which they appear.
  • The container will report success or failure based on the outcome of all tasks within it.
  • A container can be configured to execute tasks in parallel, but this is not recommended, as it can lead to unexpected behavior.
  • Tasks can be added or removed from the container as needed.


A sequence container in SSIS Control Flow provides a way to group related tasks and execute them in a specific order. This makes the Control Flow easier to understand and manage, and can help ensure that tasks are executed correctly. By encapsulating a set of tasks within a container, you can provide a single point of error handling and make it easier to copy or move that set of tasks as a single unit.

Published on: