ABS (Azure Stream Analytics)

 

Published: September 10, 2015

Updated: April 22, 2016

Applies To: Azure

A mathematical function that returns the absolute (positive) value of the specified numeric expression.

Syntax

ABS (expression )  

expression

Is an expression of the exact numeric or approximate numeric data type category. ABS can be used with bigint or float columns.

Returns the same type as expression.

SELECT ABS(input.x) AS "The ABS of the variable x"  
FROM input  

Show: