17.00 - Example: TD_ANYTYPE 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)

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    ?