REVERSE



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

Syntax

REVERSE(<str>)

Arguments

ArgumentsDescription
<str>The string value.

Return Type

VARCHAR

Examples

SELECT REVERSE('abc'); +----------------+ | REVERSE('abc') | +----------------+ | cba | +----------------+

Was this page helpful?