SIGN (Azure Stream Analytics)
A mathematical function that returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
Syntax
SIGN (expression)
Argument
expression
Is an expression of the exact numeric or approximate numeric data type category.
Return Type
Returns the same type as submitted in expression.
Example
SELECT SIGN(input.x) AS "The SIGN of the variable x"
FROM input
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for