15.10 - Example: TD_ANYTYPE 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

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    ?