Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.49 KB

File metadata and controls

36 lines (31 loc) · 1.49 KB

title: "SQLCloseCursor | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: "sql" ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.service: "" ms.component: "native-client-odbc-api" ms.reviewer: "" ms.suite: "sql" ms.technology:

ms.tgt_pltfrm: "" ms.topic: "reference" apitype: "DLLExport" helpviewer_keywords:

  • "SQLCloseCursor function" ms.assetid: e7134d65-5c1c-4ae2-b119-d9b4b9a42483 caps.latest.revision: 31 author: "MightyPen" ms.author: "genemi" manager: "craigg" ms.workload: "Inactive" monikerRange: ">= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest || >= sql-server-2016 || = sqlallproducts-allversions"

SQLCloseCursor

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md] [!INCLUDESNAC_Deprecated]

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.

See Also

SQLCloseCursor
ODBC API Implementation Details