Example: HELP FUNCTION Report for a UDF - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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 ?