Example: HELP TABLE with a UDT Column - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

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

This example reports information about table t1, which is defined as follows.

     CREATE TABLE t1 (
       id    INTEGER NOT NULL,
       myint udi_nt)
     UNIQUE PRIMARY INDEX (id);

The following example shows the HELP TABLE report for a table named t1 that contains a UDT column named myint with the UDT type udt_int.

     HELP TABLE t1;
                        Column Name id
                                Type I
                             Comment ?
                            Nullable N
                              Format -(10)9
                               Title ?
                          Max Length 4
                Decimal Total Digits ?
           Decimal Fractional Digits ?
                           Range Low ?
                          Range High ?
                           UpperCase N
                         Table/View? T
                       Default Value ?
                           Char Type ?
                          IdCol Type ?
                            UDT Name ?
                            Temporal ?
              Column Dictionary Name id
                     Column SQL Name id
                 Column Name UEscape
                    Dictionary Title
                           SQL Title
                       Title UEscape
              Column Dictionary Name
                         Column Name myint
                                Type UT
                             Comment ?
                            Nullable Y
                              Format -(10)9
                               Title ?
                          Max Length 4
                Decimal Total Digits ?
           Decimal Fractional Digits ?
                           Range Low ?
                          Range High ?
                           UpperCase N
                         Table/View? T
                       Default value ?
                           Char Type ?
                          IdCol Type ?
                            UDT Name udt_int
                            Temporal ?
              Column Dictionary Name myint
                     Column SQL Name myint
                 Column Name UEscape
                    Dictionary Title
                           SQL Title
                       Title UEscape