ssis control flow
DESCRIPTION
Firestarter SSIS 05 control flowTRANSCRIPT
Defining Control and Data Flow Objects
The control flow is the workflow engine that contains control flow tasks, containers, and precedence constraints, which manage when tasks and containers execute.
The data flow, in contrast, is directly related to processing and transforming data from sources to destinations.
Defining Control Flow ObjectsThere are three primary types of control flow objects:Control flow tasks Workflow objects that perform operational-
level jobsControl flow containers Provide a grouping mechanism for tasks
and other containersConstraints Let you connect tasks and containers and define
execution ordering and precedence
Control Flow TasksA control flow task is an SSIS component that performs a high level of operations such as sending an e-mail message, executing a SQL statement, or copying a file from an FTP server. When a control flow task is complete, it either succeeded or failed.
Control Flow ContainersThere are three primary containers in SSIS: Sequence Container Lets you organize subordinate tasks by grouping them together, and lets you apply transactions or assign logging to the container.For Loop Container Provides the same functionality as the Sequence Container except that it also lets you run the tasks within it multiple times based on an evaluation condition, such as looping from 1 to 10.Foreach Loop Container Also allows looping, but instead of providing a condition expression, you loop over a set of objects, such as files in a folder.
Package Variables
Within SSIS, there are two types of variables: system variables and user variables.System variables System variables are not editable but can be referenced within tasks and containers. System variables are set by the package for tracking metadata such as the package name and the user that executes the package. User variables You can create and define user variables for any purpose in the package.
User::[VariableName] System::[VariableName]
Understanding a Control Flow
Common Tasks in SSIS
Understanding Control Flow
STEP 1
STEP 2
STEP 3
Complete Control Flow
Understanding Variables
Full Name Email
User::Full Name User::Email
User::Customer Records
User::Email Counter
Email Counter > 2User::Email Counter
COMPLETE
COMPLETE
STEP 1
STEP 2
STEP 3
ResourcesControl Flow Elements- http://msdn.microsoft.com/en-us/library/ms137681.aspx
Designing Package Control Flow- http://msdn.microsoft.com/en-us/library/ms140234.aspx
DEMO