17.05 - Example: HELP FUNCTION Report for a UDF - 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 demonstrates a HELP FUNCTION report for a UDF defined with the TD_GENERAL parameter style. Notice that the value of the Nullable column is N for all parameters.

     HELP FUNCTION tdgenfnc;
      *** Help information returned. 3 rows.
      *** Total elapsed time was 1 second.

              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 P2
                        Type F
                     Comment ?
                    Nullable N
                      Format -9.99999999999999E-999
                   Max Length 8
        Decimal Total Digits ?
   Decimal Fractional Digits ?
                 Table/View? F
                   Char Type ?
              Parameter Type I
                    UDT Name	?
              Parameter Name RETURN0
                        Type F
                     Comment ?
                    Nullable N
                      Format -9.99999999999999E-999
                   Max Length 8
        Decimal Total Digits ?
   Decimal Fractional Digits ?
                 Table/View? F
                   Char Type ?
              Parameter Type O
                     UDT Name ?