Structured Query Language/Return Codes
Jump to navigation
Jump to search
The return code of programms calling the IBM database DB2 is stored in the field SQLCODE of its SQLCA area. You can find a detailed explanation of SQLCODE's meaning at: DB2 return codes.
During the initial phase of the SQL standard SQLCODE was a part of it. But over time it was replaced by the more detailed SQLSTATE.