version 2004
PGSQL_GetLastCmdStatus (resID; lastCmdStatus) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| lastCmdStatus | String | Status of the last command executed | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetLastCmdStatus command gives the status (String) of the last command executed. It returns an error code (Longint) where 0 means no error.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
lastCmdStatus is a String that is returned which corresponds to the status of the last command executed.