| title | SQLCloseCursor | |
|---|---|---|
| description | SQLCloseCursor | |
| author | markingmyname | |
| ms.author | maghan | |
| ms.date | 03/14/2017 | |
| ms.service | sql | |
| ms.subservice | native-client | |
| ms.topic | reference | |
| helpviewer_keywords |
|
|
| apitype | DLLExport |
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
SQLCloseCursor replaces SQLFreeStmt with an Option value of SQL_CLOSE. On receipt of SQLCloseCursor, the [!INCLUDEssNoVersion] 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.