例: UDT列を指定したHELP TABLE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQLデータ定義言語 構文規則および例

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
2021年1月
Language
日本語
Last Update
2021-03-30
dita:mapPath
ja-JP/ncd1596241368722.ditamap
dita:ditavalPath
ja-JP/ncd1596241368722.ditaval
dita:id
B035-1144
Product Category
Software
Teradata Vantage

この例では、次のように定義されたテーブルt1に関する情報のレポートを示します。

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

次の例は、UDT型がudt_intであるmyintという名前のUDT列を含む、t1という名前のテーブルに関するHELP TABLEレポートを示します。

     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