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

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

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