15.10 - Example: HELP TABLE with a UDT Column - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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