Similarities With The Syntax For CREATE TYPE (Distinct Form) - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

The syntax for CREATE TYPE (Structured Form) is similar to that for the CREATE TYPE (Distinct Form) statement.

The major distinguishing characteristics are the following:

  • The AS attribute_name list with an optional INSTANTIABLE specification.

    For CREATE TYPE (Distinct Form), the corresponding clause is the AS predefined_data_type clause.

  • The mandatory NOT FINAL specification.

    For CREATE TYPE (Distinct Form), the mandatory specification is FINAL.

  • The ability to create constructor method signatures, which you cannot do for distinct types.