Supported Source and Target Data Types

Teradata Vantageā„¢ Data Types and Literals

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

Teradata Database 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.