Returns the exception condition following the execution of an SQL statement (other than GET DIAGNOSTICS). Either SQLCODE or SQLSTATE can be returned.