version 11
GET LAST SQL ERROR (codesArray; intCompArray; textArray)
| Parameter | Type | Description | |
| codesArray | Number array | Error numbers | |
| intCompArray | String array | Internal component codes | |
| textArray | String array | Text of errors |
Description
The GET LAST SQL ERROR command returns information about the current stack of errors concerning the use of the SQL kernel.
This command must be called from an on error call method installed by the ON ERR CALL command.
The information is returned in three synchronized arrays:
codesArray: This array receives the list of error codes generated.
intCompArray: This array contains the codes of the internal components associated with each error.
textArray: This array contains the text of each error.
The list of error codes and their text is provided in the SQL Engine Errors section.