version 2004
ODBC_SQLMoreResults (stmtID) Longint
Parameter | Type | Description | |
stmtID | Longint | Statement ID | |
Function result | Longint | Returns the result of the MS ODBC API function | |
SQLMoreResults |
Description
The ODBC_SQLMoreResults command determines whether more results are available on a statement containing SELECT, UPDATE, INSERT or DELETE statements and, if so, initializes processing for those results.
stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.
For more information, please see the SQLMoreResults function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlmoreresults.asp.
Function Results
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_NO_DATA, SQL_ERROR, or SQL_INVALID_HANDLE.