Example: HELP TYPE for a Distinct UDT Type - 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™

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;

Result:

                    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 ?