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

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.