15.10 - Example: VARIANT_TYPE Input Parameter Data Type - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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