Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.22 KB

File metadata and controls

27 lines (23 loc) · 1.22 KB
title SQLFreeHandle | Microsoft Docs
ms.custom
ms.date 03/03/2017
ms.prod sql
ms.prod_service database-engine, sql-database, sql-data-warehouse, pdw
ms.reviewer
ms.technology native-client
ms.topic reference
apitype DLLExport
helpviewer_keywords
SQLFreeHandle function
ms.assetid d374e5c8-ed35-43bf-8dd6-c37e38d9b5f1
author markingmyname
ms.author maghan
monikerRange >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current

SQLFreeHandle

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

In manual-commit mode, calling SQLFreeHandle on a statement handle with an open transaction causes a rollback of pending changes to the database. Calling SQLFreeHandle on a statement handle always closes any open cursors and discards pending results, freeing all resources associated with the statement handle.

See Also

SQLFreeHandle Function
ODBC API Implementation Details