Implementing Control Flow in An SSIS Package
Implementing Control Flow in An SSIS Package
Implementing Control Flow in An SSIS Package
• Multiple constraints
• Logical AND
• Logical OR
Grouping and Annotations
Variables
Parameters
Expressions
• Demonstration: Using Variables and Parameters
Variables
• User Variables:
• Variables created by an SSIS developer to hold dynamic
values
• Defined in the User namespace by default
• Defined at a specified scope
• System Variables
• Built-in variables with dynamic system values
• Defined in the System namespace
Parameters
• Project parameters
• Accessible from any package in the project
• Package parameters
• Exist only at the package level
Expressions
Introduction to Containers
Sequence Containers
Demonstration: Using a Sequence Container
For Loop Containers
Demonstration: Using a For Loop Container
Foreach Loop Containers
• Demonstration: Using a Foreach Loop Container
Introduction to Containers
• Task containers
• Sequence containers
• For Loop containers
• Foreach Loop containers
Sequence Containers
Sequence containers
• Define a control flow subset
• Help you to manage properties for multiple tasks
• Create a scope for variables, transactions, and
precedence
Demonstration: Using a Sequence Container
• Evaluation expression
@Count < 4
• Iteration expression
@Count = @Count + 1
Demonstration: Using a For Loop Container
Logon Information
Virtual machine: 20767C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa55w.rd
Logon Information
Virtual machine: 20767C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa55w.rd
• Review Question(s)