SQLCloseCursor

SQLCloseCursorSQLFreeStmt 替换为 选项 值SQL_CLOSE。 收到 SQLCloseCursor 后,SQL Server Native Client ODBC 驱动程序将放弃挂起的结果集行。 请注意, SQLCloseCursor 将保留语句的列和参数绑定(如果有)。

另请参阅

SQLCloseCursor
ODBC API 实现细节