16.20 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

STRING_CS helps determine which encoding to use when using the TRANSLATE function to translate a string from the KANJI1 server character set to the UNICODE server character set.

IF the result value is … THEN substitute the following value for source_TO_target in TRANSLATE(string_expression USING source_to_target ) …
-1 KANJI1_SBC_TO_UNICODE.
0 KANJI1_SBC_TO_UNICODE.
1 KANJI1_KANJIEBCDIC_TO_UNICODE.
2 KANJI1_KANJIEUC_TO_UNICODE.
3 KANJI1_KANJISJIS_TO_UNICODE.