Compatible Types - 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 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.