Data Flow Properties that Can Be Set by Using Expressions


Applies To: SQL Server 2016

The values of certain properties of data flow objects can be specified by using property expressions available on the Data Flow task container.

For information about using property expressions, see Use Property Expressions in Packages.

You can use property expressions to customize configurations for each deployed instance of a package. You can also use property expressions to specify run-time constraints for a package by using the /set option with the dtexec command prompt utility. For example, you can constrain the MaximumThreads used by the Sort transformation, or the MaxMemoryUsage of the Fuzzy Grouping and Fuzzy Lookup transformations. If unconstrained, these transformations may cache large amounts of data in memory.

To specify a property expression for one of the properties of data flow objects listed in this topic, display the Properties window for the Data Flow task by selecting the Data Flow task on the Control Flow surface of the designer, or by selecting the Data Flow tab of the designer without selecting any individual component or path. Select the Expressions property and click the ellipsis (...) to display the Property Expressions Editor dialog box. Drop down the Property list to select a property, then type an expression in the Expression text box, or click the ellipsis (...) to display the Expression Builder dialog box.

The Property list displays available properties for only those data flow objects that you have already placed on the Data Flow surface of the designer. Therefore, you cannot use the Property list to view all the possible properties of data flow objects that support property expressions. For example, if you have placed an ADO NET source on the designer surface, the Property list contains an entry for the [ADO NET Source].[SqlCommand] property. The list also displays many properties of the Data Flow task itself.

The values of the properties in the following list can be specified by using property expressions.

Data Flow Sources

Data Flow objectProperty
ADO NET sourceTableOrViewName property

SqlCommand property
XML sourceXMLData property

XMLSchemaDefinition property

Data Flow Transformations

For more information about these custom properties, see Transformation Custom Properties.

Data Flow objectProperty
Conditional Split transformationFriendlyExpression property
Derived Column transformationFriendlyExpression property
Fuzzy Grouping transformationMaxMemoryUsage property
Fuzzy Lookup transformationMaxMemoryUsage property
Lookup transformationSqlCommand property

SqlCommandParam property
OLE DB Command transformationSqlCommand property
Percentage Sampling transformationSamplingValue property
Pivot transformationPivotKeyValue property
Row Sampling transformationSamplingValue property
Sort transformationMaximumThreads property
Unpivot transformationPivotKeyValue property

Data Flow Destinations

Data Flow objectProperty
ADO NET DestinationTableOrViewName property

BatchSize property

CommandTimeout property
Flat File destinationHeader property
SQL Server Compact destinationTableName property
SQL Server destinationBulkInsertTableName property

BulkInsertFirstRow property

BulkInsertLastRow property

BulkInsertOrder property

Timeout property

Technical article, SSIS Expression Cheat Sheet, on

Use Property Expressions in Packages
Common Properties
Transformation Custom Properties
Path Properties