POWER (Azure Stream Analytics)

 

Published: November 2, 2015

Updated: April 22, 2016

Applies To: Azure

A mathematical function that returns the value of the specified expression to the specified power.

Syntax

POWER (float_expression, y)  

float_expression

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

y

The power to which to raise float_expression. y can be an expression of the exact numeric or approximate numeric data type category.

Returns the same type as submitted in float_expression. For example, if a bigint was submitted as float_expressions, the result returned is bigint.

SELECT POWER(input.x, 3) AS "The 3rd POWER of the variable x"  
FROM input  

Show: