Skip to main content
Version: current [25.x]

Categories: String

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