webCOMAND

REVERSE()

 Reverse the characters in a string.

This function is multi-byte safe.

Prototype

string REVERSE(string str)

Parameters

  • str - The string or expression to evaluate to a string and reverse.

Return

Returns the string str with the order of the characters reversed.

Example

SELECT OID, REVERSE(Username) AS Username FROM User

Related

LOWER(), UPPER()