attribute_specification - Teradata Vantage - Analytics Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-22
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantageā„¢
attribute_name
Name of an attribute of the structured UDT.
predefined_data_type
The predefined data type on which the current attribute of the structured UDT is based, if that attribute is not a UDT.
You can specify any Teradata data type, except for ARRAY, VARRAY, and DATASET.
server_character_set
If data_type is a character type, this is the server character set used by data_type. Otherwise, this option is not used.
The CHARACTER SET clause initiates the following system-generated routines when the system creates the UDF_name distinct type:
  • The system-generated CAST routines are registered to cast to and cast from a character source type of the specified server character set.
  • The system-generated ORDERING routine is registered to map to a character source type of the specified server character set.
  • The system-generated tosql and fromsql TRANSFORM routines are registered to transform the UDT to and from a character source type of the specified server character set.
If you know that all database transactions occur in languages that can be expressed using the LATIN character set, specify LATIN. Otherwise, for example, if some or all transactions use non-LATIN or multibyte characters, specify UNICODE. See International Character Set Support, B035-1125.
You cannot specify a character server data set of KANJI1.
(UDT_name)
Name of a UDT on which the current attribute of the structured UDT is based if that attribute is not a predefined data type.
For information about naming database objects, see Teradata Vantageā„¢ - SQL Fundamentals, B035-1141.