Supported Source & Target Data Types | Data Types & Literals | Teradata Vantage - 17.10 - Supported Source and Target Data Types - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

Vantage supports byte data type conversions according to the following table.

Source Data Type Target Data Type Allowable Conversions
BYTE
  • BYTE
  • VARBYTE
  • BLOB
  • Implicit
  • Explicit using CAST and Teradata conversion syntax
VARBYTE
BLOB
BYTE UDT
  • Implicit
  • Explicit using CAST
VARBYTE
BLOB
UDT
  • BYTE
  • VARBYTE
  • BLOB
  • Implicit
  • Explicit using CAST and Teradata conversion syntax

Data type conversions involving UDTs require appropriate cast definitions for the UDTs. To define a cast for a UDT, use the CREATE CAST statement. For more information on CREATE CAST, see Teradata Vantageā„¢ - SQL Data Definition Language Syntax and Examples, B035-1144.