REVERSE
Returns the string str with the order of the characters reversed.
Analyze Syntax
func.reverse(<str>)
Analyze Examples
func.reverse('abc')
+----------------------+
| func..reverse('abc') |
+----------------------+
| cba |
+----------------------+
SQL Syntax
REVERSE(<str>)
Arguments
Arguments | Description |
---|---|
<str> | The string value. |
Return Type
VARCHAR
SQL Examples
SELECT REVERSE('abc');
+----------------+
| REVERSE('abc') |
+----------------+
| cba |
+----------------+
Last modified April 22, 2024 at 5:52 PM EST: string functions updated (f7f7143)