16.20 - REVERSE - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

Purpose

Reverses the input string.

CHAR, VARCHAR, and CLOB are supported while other types must be explicitly cast. The input can be NULL or an empty string.

The result character set is the same as the source_string character set for Unicode and Latin. The result character set is Unicode for all other supported character sets.

Syntax