REVERSE

Learn how to use the REVERSE string function in PlaidCloud Lakehouse. Returns the string str with the order of the characters reversed. Includes syntax and...

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

ArgumentsDescription
<str>The string value.

Return Type

VARCHAR

SQL Examples

SELECT REVERSE('abc');
┌────────────────┐
 REVERSE('abc') 
├────────────────┤
 cba            
└────────────────┘