16.20 - Prerequisites for Specifying a UDT, ARRAY, VARRAY, Period, or Geospatial Column in a Table Definition - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

A UDT must have both an ordering and a transform defined for it before you can use it as the column data type of any table. Because ARRAY, VARRAY, Geospatial and Period data types are predefined as internal Teradata UDTs, their ordering and transforms are also predefined. If you attempt to create a table that contains a UDT column when that UDT does not yet have either an ordering or transform definition, the system returns an error to the requestor.

Not all the possible Teradata Database column attributes are valid when specified for a UDT column. For a list of the valid data type attributes for UDT, Geospatial, and Period columns, see Teradata Vantage™ Data Types and Literals, B035-1143.