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

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
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.