Usage Notes

Teradata Vantage™ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

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.