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

Teradata Vantageā„¢ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

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 Teradata Vantageā„¢ - Data Types and Literals, B035-1143.