16.20 - Example: VARIANT_TYPE Input Parameter Data Type - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

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