15.10 - REVERSE - Teradata Database

Teradata Database SQL Functions, Operators, Expressions, and Predicates

prodname
Teradata Database
vrm_release
15.10
created_date
March 2017
category
Programming Reference
featnum
B035-1145-151K

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



The following character sets are supported with the REVERSE function:
  • Unicode
  • Latin
  • Kanji SJIS
  • Graphic