REVERSE#
Returns the reverse order of a string value.
Syntax#
REVERSE ( string_expression )
Arguments#
string_expression
Is an expression of a character string or binary data type. string_expression can be a constant, variable, or column either character or binary data.
Return types#
varchar or nvarchar
Examples#
SELECT REVERSE(1234);