17.10 - Compatible Types - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

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

To pass an argument that is not compatible with the corresponding parameter type and is not implicitly converted by Vantage, 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.