SSIS 2014, Part 06 of 11: Variables and Expressions
Interactive

SSIS 2014, Part 06 of 11: Variables and Expressions

BizLibrary
Updated Feb 04, 2020

Integration Services variables are similar to those in your favorite programming language but they work differently in Integration Services packages. Because most of the time you aren’t writing code that can directly manipulate variables. Instead you use them to set the value of properties as part of an expression or in a script component where you write VB or C# code. They are enormously useful for sharing data throughout a package including the reuse of expressions and you can use them in almost any Integration Services object such as connection managers, control flow tasks and data flow transformations. In this course you’ll learn what you need to know to use variables and expressions. We’ll start off by exploring just what a variable is in Integration Services and how it has special properties, as well as a bit of the data types available. You’ll also see where and how you can use variables, which as it turn out is in nearly every nook and cannery of a package. Then we’ll explore how to use variables in control and data flows in a package. You’ll also learn about the important property expressions feature, which lets you use variables to set values of package component properties. You’ll begin to understand how variables can make packages amazingly dynamic, responding to data characteristics, the external environment, or just about anything else you can write in code. Next we’ll explore Integration Services Expression. Expressions are the single most important feature for creating dynamic packages that are able to modify what they do based upon almost any kind of state or environmental factor. What makes expressions particularly powerful in packages is that you can imbed them directly into the various properties of just about any object in the package or in a variable for reuse through that variables scope. Variables and expressions aren’t quite the same thing as they are in your favorite programming language but they are dynamic in nature and the ability to let you share information between components is pure gold.


Lesson 1:

  • Variables and Data Types
  • Variable Properties
  • Variable Data Types
  • Variable Data Types Cont.
  • Variable Scope
  • Variable Scope Cont.
  • Parameters.

Lesson 2:

  • Demo: Where Can You Use Variables
  • Demo: Available Variables and Create
  • Demo: Sequence Container
  • Demo: Variables Property
  • Demo: Filter Variables.

Lesson 3:

  • Execute SQL Task
  • File System Task
  • Send Mail Task
  • Foreach Loop Container
  • Script Task
  • Expression Task
  • Demo: Variables Control Flow
  • Demo: Script Task
  • Demo: Edit Script
  • Demo: Execute.

Lesson 4:

  • Connection Manager
  • Derived Column Transformation
  • ConditionalSplitTransformation
  • Parameters
  • Property Expressions
  • Property Expressions (Cont)
  • Using Variables and Parameters
  • Demo: New Parameter
  • Demo: File System Task
  • Demo: Execute SQL Task
  • Demo: Script Task
  • Demo: OLE DB Source
  • Demo: Row Sampling
  • Demo: Property Expression
  • Demo: Flat File Destination
  • Demo: File Location.

Lesson 5:

  • Using Expressions
  • The Language of Expressions
  • Identifiers
  • Literals
  • Operators
  • Working with NULLs
  • Conditional Expressions
  • The Expression Builder
  • Expression Builder: Control Flow
  • Expression Builder: Data Flow.
;