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 + (Add) (SSIS)
description + (Add) (SSIS)
author chugugrace
ms.author chugu
ms.date 03/01/2017
ms.service sql
ms.subservice integration-services
ms.topic concept-article
helpviewer_keywords
+ (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)