Returns the specified string with characters listed in reverse order.
reverse(expression | uchar_expr)
select reverse("abcd")
---- dcba
select reverse(0x12345000)
---------- 0x00503412
reverse, a string function, returns the reverse of expression.
If expression is NULL, reverse returns NULL.
Surrogate pairs are treated as indivisible and are not reversed.
See also Transact-SQL Users Guide.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute reverse.