CAST UDT-to-Character Conversion | VantageCloud Lake - UDT-to-Character Conversion with CAST - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

ANSI Compliance

This statement is ANSI SQL:2011 compliant.

As an extension to ANSI, CAST permits the use of data attribute phrases such as FORMAT.

Syntax

CAST ( UDT_expression AS character_data_type )

Syntax Elements

UDT_expression
An expression that represents a UDT data type.
character_data_type
The data type, followed by any FORMAT, NAMED, or TITLE attribute phrases, to which the expression is to be converted.