Example: Displaying UDT Parameters - 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™

The following example shows how UDT parameters are indicated in a HELP FUNCTION report.

     HELP FUNCTION  SYSUDTLIB.AdhocIntToSQL;

           Parameter Name P1
                     Type I
                  Comment ?
                 Nullable N
                   Format -(10)9
               Max Length 4
     Decimal Total Digits ?
Decimal Fractional Digits ?
              Table/View? F
                Char Type ?
           Parameter Type I
                 UDT Name ?
           Parameter Name RETURN0
                     Type UT
                  Comment ?
                 Nullable N
                   Format ?
               Max Length ?
     Decimal Total Digits ?
Decimal Fractional Digits ?
              Table/View? F
                Char Type ?
           Parameter Type O
                 UDT Name UDTINT