SIGN (Azure Stream Analytics)
Een wiskundige functie die het positieve (+1), nul (0) of negatieve (-1) teken van de opgegeven expressie retourneert.
Syntaxis
SIGN (expression)
Argument
expression
Is een expressie van de exacte numerieke of geschatte numerieke gegevenstypecategorie.
Retourtype
Retourneert hetzelfde type als dat is ingediend in de expressie.
Voorbeeld
SELECT SIGN(input.x) AS "The SIGN of the variable x"
FROM input