Bewerken

Delen via


SQLFreeHandle

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

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