Example: HELP TYPE for a Distinct UDT Type - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

This example shows the standard report returned by HELP TYPE for a distinct UDT type.

Suppose you create the following ARRAY type.

     CREATE TYPE mydistinct AS
     INTEGER FINAL;

This type returns the following report to a HELP TYPE request.

     HELP TYPE mydistinct;
                    Name mydistinct
            Internal Type UD
            External Type I
               Max Length              4
     Decimal Total Digits     ?
Decimal Fractional Digits     ?
             Contains LOB N
                 Ordering F
        Ordering Category M
         Ordering Routine SYSTEM
                     Cast Y
                Transform Y
                   Method N
                Char Type  ?
              Array (Y/N) N
               Dimensions             ?
             Element Type ?
                 UDT Name ?
              Array Scope ?