Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.68 KB

File metadata and controls

63 lines (44 loc) · 1.68 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
+ (Add) (SSIS)
+ (Add) (SSIS)
chugugrace
chugu
03/01/2017
sql
integration-services
conceptual
+ (add)
add operator (+)
adding expressions

+ (Add) (SSIS)

[!INCLUDEsqlserver-ssis]

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)