SQUARE (Azure Stream Analytics)

A mathematical function that returns the square of the specified float value.

Syntax

SQUARE (float_expression)  

Argument

float_expression

Is an expression of type float or of a type that can be implicitly converted to float.

Return Type

float

Example

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