15.00 - Prerequisites for Specifying a UDT, ARRAY, VARRAY, Period, or Geospatial Column in a Table Definition - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1184-015K

Prerequisites for Specifying a UDT, ARRAY, VARRAY, Period, or Geospatial Column in a Table Definition

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 request aborts and the system returns an error to the requestor.

Not all the possible Teradata Database column attributes are valid when specified for a UDT column. See SQL Data Types and Literals for a list of the valid data type attributes for UDT, Geospatial, and Period columns.