Handling of return codes

The following variables will be inserted automatically on package level.


  package body XXX is

    SQLCODE  : SQL_STANDARD...;
    SQLSTATE : SQL_STANDARD...;

These variables will be updated after every query send to the data base. This variable may be used to check the result of a query. The elaboration of the WHENEVER clause is based on these variables as well. Please note, this method is not thread save.