title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | ||
---|---|---|---|---|---|---|---|---|---|---|
- (Negate) (SSIS Expression) |
- (Negate) (SSIS Expression) |
chugugrace |
chugu |
03/01/2017 |
sql |
integration-services |
conceptual |
|
[!INCLUDEsqlserver-ssis]
Negates a numeric expression.
-numeric_expression
numeric_expression
Is any valid expression of any numeric data type. Only signed numeric data types are supported. For more information, see Integration Services Data Types.
Returns the data type of numeric_expression.
This example negates the value of the Counter variable and adds the numeric literal 50.
-@Counter + 50
Operator Precedence and Associativity
Operators (SSIS Expression)