Implicit Character-to-Character Translation | Teradata Vantage - 17.10 - Implicit Character-to-Character Translation - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

Implicit string translation occurs when two character strings are incompatible within a given operation. For example,

SELECT *
FROM string_table
WHERE clatin < csjis;

where clatin represents a character column defined as CHARACTER SET LATIN and csjis represents a character column defined as CHARACTER SET KANJISJIS.

If an implicit translation of character string ‘string’ to a UNICODE character string is required, it is equivalent to executing the TRANSLATE (string USING source_repertoire_name _TO_Unicode ) function, where source-repertoire-name is the server character set of string.

More specifically, if as in the above example, string is of KANJISJIS type, then the translation is equivalent to executing the TRANSLATE (string USING KanjiSJIS_TO_Unicode) function.