REVERSE (Lakehouse v1)
Returns the string str with the order of the characters reversed.
Analyze Syntax
Section titled “Analyze Syntax”func.reverse(<str>)Analyze Examples
Section titled “Analyze Examples”func.reverse('abc')┌──────────────────────┐│ func..reverse('abc') │├──────────────────────┤│ cba │└──────────────────────┘SQL Syntax
Section titled “SQL Syntax”REVERSE(<str>)Arguments
Section titled “Arguments”| Arguments | Description |
|---|---|
<str> | The string value. |
Return Type
Section titled “Return Type”VARCHAR
SQL Examples
Section titled “SQL Examples”SELECT REVERSE('abc');┌────────────────┐│ REVERSE('abc') │├────────────────┤│ cba │└────────────────┘