SQLCloseCursor

 

System_CAPS_ICON_warning.jpg Warning

SQL Server Native Client (SNAC) is not supported beyond SQL Server 2012. Avoid using SNAC in new development work, and plan to modify applications that currently use it. The Microsoft ODBC Driver for SQL Server provides native connectivity from Windows to Microsoft SQL Server and Microsoft Azure SQL Database.

SQLCloseCursor replaces SQLFreeStmt with an Option value of SQL_CLOSE. On receipt of SQLCloseCursor, the SQL Server Native Client ODBC driver discards pending result set rows. Note that the statement's column and parameter bindings (if any exist) are left unaltered by SQLCloseCursor.

SQLCloseCursor
ODBC API Implementation Details

Community Additions

ADD
Show: