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

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

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 Vantage 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.