Result Type and Attributes - Analytics Database - Teradata Vantage

SQL Functions, Expressions, and Predicates

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-01-12
dita:mapPath
obm1628111499646.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
kby1472250656485
lifecycle
latest
Product Category
Teradata Vantage™

The default attributes for TRANSLATE (string USING source _TO_target) are as follows:

  • If the argument is CHAR or VARCHAR, the result is VARCHAR(n) or CHARACTER SET target
  • If the argument is CLOB, the result is CLOB(n) or CHARACTER SET target

where source_TO_target determines the character set value of target, according to the supported translations in “Supported Translations Between Character Sets”.

If the string USING source _TO_target argument is null, the result is null.