Similarities With The Syntax For CREATE TYPE (Structured Form) - 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™

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

The major distinguishing characteristics for distinct types are the following:

  • The AS predefined_data_type clause.

    For CREATE TYPE (Structured Form), the corresponding clause is AS attribute_name list with an optional INSTANTIABLE specification.

  • The mandatory FINAL specification.
  • The inability to create a user-defined constructor method signature for a distinct type.

    Structured UDTs allow you to define constructor method signatures.