17.00 - Example: VARIANT_TYPE Input Parameter Data Type - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

The following example shows the output from a HELP FUNCTION request when the function specifies VARIANT_TYPE UDTs as input parameters.

     HELP FUNCTION udf_agch002002dynudt;
      *** Help information returned. 2 rows.
      *** Total elapsed time was 1 second.

                Parameter Name parameter_1
                          Type UT
                       Comment ?
                      Nullable Y
                        Format ?
                    Max Length ?
          Decimal Total Digits ?
     Decimal Fractional Digits ?
                   Table/View? A
                     Char Type ?
                Parameter Type I
                      UDT Name VARIANT_TYPE
                Parameter Name RETURN0
                          Type UT
                       Comment ?
                      Nullable Y
                        Format ?
                    Max Length ?
          Decimal Total Digits ?
     Decimal Fractional Digits ?
                   Table/View? A
                     Char Type ?
                Parameter Type O
                      UDT Name INTEGERUDT