Argument List | Invoking External Stored Procedures | Teradata Vantage - Argument List - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

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

The arguments in the CALL statement must appear as comma-separated expressions in the same order as the C or C++ function declaration parameters.

The argument types of an external stored procedure in a CALL statement must either be compatible with the corresponding parameter declarations in the function declaration or must be types that are implicitly converted to the corresponding parameter types, according to the database implicit type conversion rules.

To pass an argument that is not compatible with the corresponding parameter type and is not implicitly converted by the database, the CALL statement must explicitly convert the argument to the proper type.

For information on data type conversions, see “Data Type Conversions” in Teradata Vantage™ - Data Types and Literals, B035-1143.