SSIS 2014, Part 06 of 11: Variables and Expressions

with expert Don Kiely

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.

Intermediate | 1h 55m | November 03, 2014

SQL BIBusiness IntelligenceDatabaseSSISSQL Server

Course Outline

Don Kiely

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Explore Our Blogs, Courses and Webinars