Redaguoti

Bendrinti naudojant


+ (Add) (SSIS)

Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory

Adds two numeric expressions.

Syntax

  
numeric_expression1 + numeric_expression2  
  

Arguments

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

Result Types

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

Remarks

If either operand is null, the result is null.

Expression Examples

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%])  

See Also

Operator Precedence and Associativity
Operators (SSIS Expression)