REVERSE (Azure Stream Analytics)

Returns the reverse order of a string value.

Syntax

REVERSE ( expression )

Arguments

expression

Is a character expression or a column of type nvarchar(max).

Return Types

nvarchar(max)

Examples

SELECT
    'abcdefg' AS x,
    REVERSE('abcdefg') AS reversedX
FROM Input
x reversedX
'abcdefg' 'gfedcba'