The Sequence container defines a control flow that is a subset of the package control flow. Sequence containers group the package into multiple separate control flows, each containing one or more tasks and containers that run within the overall package control flow.

The Sequence container can include multiple tasks in addition to other containers. Adding tasks and containers to a Sequence container is similar to adding them to a package, except you drag the tasks and containers to the Sequence container instead of to the package container. If the Sequence container includes more than one task or container, you can connect them using precedence constraints just as you do in a package. For more information, see Precedence Constraints.

There are many benefits of using a Sequence container:

  • Disabling groups of tasks to focus package debugging on one subset of the package control flow.
  • Managing properties on multiple tasks in one location by setting properties on a Sequence container instead of on the individual tasks.For example, you can set the Disable property of the Sequence container to True to disable all the tasks and containers in the Sequence container.
  • Providing scope for variables that a group of related tasks and containers use.
  • Grouping many tasks so you can more easily managed them by collapsing and expanding the Sequence container.You can also create task groups, which expand and collapse using the Group box. However, the Group box is a design-time feature that has no properties or run-time behavior. For more information, see Group or Ungroup Components
  • Set a transaction attribute on the Sequence container to define a transaction for a subset of the package control flow. In this way, you can manage transactions at a more granular level.

Sources:

https://docs.microsoft.com/en-us/sql/integration-services/control-flow/sequence-container?view=sql-server-2017

Last modified: April 17, 2019

Author

Comments

Write a Reply or Comment