16.20 - Compatible Types - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
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 Teradata Database implicit type conversion rules.

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