Casting Character String Attributes - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

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-12-13
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

When the source UDT or string being manipulated by a cast operation is a VARCHAR or CHARACTER type, the server character set that is associated with that source type must be one of the following:

  • The server character set that was declared for that source type within the CREATE TYPE declaration that created the distinct type UDT.
  • The character set that was in effect at the time that the CREATE TYPE declaration was executed.