16.20 - Example: TD_ANYTYPE 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
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

Suppose you create a method named method_1. The following SQL text is a partial definition for method_1.

     CREATE INSTANCE METHOD method_1 (
       p1 TD_ANYTYPE)
       FOR SYSUDTLIB … method_1
       EXTERNAL NAME … ;

When you submit a HELP METHOD request on method_1, the output looks like this.

Note that the specifications of TD_ANYTYPE as the parameter data type for p1 is returned as ++ in the report returned by this HELP METHOD request.

     HELP METHOD method_1;
      *** Help information returned. 3 rows.
      *** Total elapsed time was 1 second.
Parameter Name                 Type Comment
------------------------------ ---- ------------------------------------
SELF                           UT   ?
P1                             ++   ?
RETURN0                        I    ?