Using expressions in Data Flow
The previous recipe explained in detail the use of expressions under Control Flow. However, expressions can also be used under Data Flow Tasks, mainly for applying data quality and business rules.
Some examples where expressions could be applied are inside variables (that are often used together) and Data Flow components such as Derived Column, Conditional Split, and Script Components. Since it's possible to have several different components in Data Flow, the properties available under each one can vary and not all of these properties support property expressions. To get further details about which Data Flow component properties support expressions, refer to the section Data Flow Properties that Can Be Set by Using Expressions in the Microsoft SQL online book at the following URL:
http://msdn.microsoft.com/en-us/library/ms136104(v=SQL.110).aspx.
Getting ready
To get started with this recipe, follow these steps:
Open SQL Server Data Tools (SSDT) and create a new...