17.10 - Value Returned to Stored Procedures - 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)

When a stored procedure calls an external stored procedure, the SQLSTATE result code value is the same value that the external stored procedure sets, not a value of 'T7505' or 'T7504' as might be expected.