Example: TD_ANYTYPE Input Parameter Data Type - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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    ?