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