Advances to the next row of the result set.
If the routine returns successfully, the current row has been advanced one row down the result set. Column data may be retrieved using data output routines.
Parameters
int32_t MimerFetch (MimerStatement statementhandle)
statementhandle |
in |
A handle returned by MimerBeginStatement[C|8], identifying a statement with an open cursor. |
Returns
A negative value indicating an error, or zero if successful. A value of MIMER_NO_DATA indicates that the end of the result has been reached.
Return value |
Description |
---|---|
MIMER_SUCCESS |
Success. |
MIMER_HANDLE_INVALID |
The statementhandle parameter was not recognized as a handle. |
MIMER_SEQUENCE_ERROR |
If there is no open result set on this statement. |
MIMER_NO_DATA |
If there are no more rows in the result set. |
Other value < 0 |
Any of the server error codes listed in Return Codes. |
Notes
This routine interacts with the database server.
Micro API compatible.