16.20.16.20 - 16.20 - Byte Conversion - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

Purpose

Converts a byte expression to a different data definition.

CAST Syntax



byte_expression

An expression in byte format to be cast to a different data definition.

byte_data_type

The new byte type to which byte_expression is to be converted.

UDT_data_type

A UDT that has a cast definition that casts the byte type to the UDT.

To define a cast for a UDT, use the CREATE CAST statement. For details on CREATE CAST, see Teradata Vantageā„¢ SQL Data Definition Language Syntax and Examples, B035-1144.

data_attribute
One of the following data attributes:
  • FORMAT
  • NAMED
  • TITLE