Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.23 KB

File metadata and controls

47 lines (33 loc) · 1.23 KB
title - (Negate) (SSIS Expression)
description - (Negate) (SSIS Expression)
author chugugrace
ms.author chugu
ms.date 03/01/2017
ms.service sql
ms.subservice integration-services
ms.topic concept-article
helpviewer_keywords
- (negative)
negative operator (-)

- (Negate) (SSIS Expression)

[!INCLUDEsqlserver-ssis]

Negates a numeric expression.

Syntax

  
-numeric_expression  
  

Arguments

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.

Result Types

Returns the data type of numeric_expression.

Expression Examples

This example negates the value of the Counter variable and adds the numeric literal 50.

-@Counter + 50  

See Also

Operator Precedence and Associativity
Operators (SSIS Expression)