Link Search Menu Expand Document

REVERSE

This function returns a string of the same size as the original string, with the elements in reverse order.

Syntax

REVERSE(<string>)
Parameter Description
<string> The string to be reversed.

Example

SELECT
	REVERSE('abcd') AS res

Returns: 'dcba'