REVERSE

Reverses the order of characters in a string.

Syntax

REVERSE(expression varchar) → varchar

  • expression: The string to reverse.

Examples

REVERSE example
SELECT REVERSE('Hello, world!');
-- !dlrow ,olleH

Last updated