16.20 - Period Type Input and Output Parameters - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

You can specify a Period type as a parameter or return type for UDFs written in C, C++, or Java. This includes scalar and aggregate UDFs, table functions, and table operators.

You can specify a Period type as an IN, INOUT, or OUT parameter of stored procedures and external stored procedures written in C, C++, or Java.

You can specify a Period type as a parameter or return type for UDMs written in C or C++.

FNC functions and Java classes and methods are provided to enable a UDF, UDM, or external stored procedure to access and set the value of a Period parameter, or to get information about the Period type parameter. For information about these functions and methods, see Teradata Vantageā„¢ SQL External Routine Programming , B035-1147 .