Closes a prepared statement.
If there is an open cursor on this statement, it is automatically closed.
Parameters
int32_t MimerEndStatement (MimerStatement *statementhandle)
statementhandle |
in |
A handle returned by MimerBeginStatement[C|8], identifying a prepared statement. |
Returns
A negative value indicating an error, or zero if successful.
Return value |
Description |
---|---|
MIMER_SUCCESS |
Success. |
MIMER_HANDLE_INVALID |
The statementhandle parameter was not recognized as a handle. |
MIMER_OUTOFMEMORY |
If not enough memory could be allocated. |
Other value < 0 |
Any of the server error codes listed in Return Codes. |
Notes
This routine interacts with the database server.
Micro API compatible.