17.10 - Example: Displaying UDT Parameters - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

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