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

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantage™

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.