REVERSE
All functions > STRING > REVERSE
Reverses the order of characters in a string.
Syntax
REVERSE(expr)
sql
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
string | VARCHAR | Yes | String to reverse |
Returns
String with characters in reverse order
Notes
- Reverses character order, not byte order
- Handles Unicode characters correctly
- Palindromes remain unchanged