version 2004
ODBC_SQLCloseCursor (stmtID) Longint
Parameter | Type | Description | |
stmtID | Longint | Statement ID | |
Function result | Longint | Returns the result of the MS ODBC API function | |
SQLCloseCursor |
Description
The ODBC_SQLCloseCursor command closes a cursor that has been opened on a statement and discards pending results.
stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.
For more information, please see the SQLCloseCursor function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlclosecursor.asp.
Function Results
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.