+ (Add) (SSIS)


Applies To: SQL Server 2016

Adds two numeric expressions.

numeric_expression1 + numeric_expression2  

numeric_expression1, numeric_ expression2
Is any valid expression of a numeric data type.

Determined by data types of the two arguments. For more information, see Integration Services Data Types.

If either operand is null, the result is null.

This example adds numeric literals.

5 + 6.09 + 7.0  

This example adds values in the VacationHours and SickLeaveHours columns.

VacationHours + SickLeaveHours  

This example adds a calculated value to the StandardCost column. The variable Profit% must be enclosed in brackets because the name includes the % character. For more information, see Identifiers (SSIS).

StandardCost + (StandardCost * @[Profit%])  

Operator Precedence and Associativity
Operators (SSIS Expression)

Community Additions