Implicit Character-to-Character Translation | Teradata Vantage - Character Literals - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantage™

The following rules apply to implicit character-to-character translation involving character literals.

IF one operand is a … AND the other operand is a … THEN …
literal literal both operands are translated to UNICODE.
non-literal the literal is translated to the type of the non-literal. If that fails, both are translated to UNICODE.
literal expression the literal is translated to the type of the literal expression. If that fails, both are translated to UNICODE.
literal expression literal expression both operands are translated to UNICODE.
non-literal the literal expression is translated to the type of the non-literal. If that fails, both are translated to UNICODE.
non-literal non-literal both operands are translated to UNICODE.