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

REVERSE

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