| title |
SQLFreeHandle | Microsoft Docs |
| ms.custom |
|
| ms.date |
06/13/2017 |
| ms.prod |
sql-server-2014 |
| ms.reviewer |
|
| ms.technology |
native-client |
| ms.topic |
reference |
| topic_type |
|
| helpviewer_keywords |
|
| ms.assetid |
d374e5c8-ed35-43bf-8dd6-c37e38d9b5f1 |
| author |
MightyPen |
| ms.author |
genemi |
| manager |
craigg |
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.
SQLFreeHandle Function
ODBC API Implementation Details