TIME-to-UDT Conversion | VantageCloud Lake - TIME-to-UDT Conversion - 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
UDTs are only supported on the Block File System on the primary cluster. They are not available for the Object File System.

Converts TIME data to UDT data.

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 ( time_expression AS UDT_data_type )

Syntax Elements

time_expression

The TIME expression to be converted.

UDT_data_type

The UDT type, followed by any FORMAT, NAMED or TITLE data attribute phrases, to which the expression is to be converted.