Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.16 KB

File metadata and controls

21 lines (18 loc) · 1.16 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
SQLCancel
SQLCancel
markingmyname
maghan
03/14/2017
sql
native-client
reference
SQLCancel function

SQLCancel

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

The SQLCancel topic says that in ODBC 2.x, if an application calls SQLCancel when no processing is being done on the statement, SQLCancel has the same effect as SQLFreeStmt with the SQL_CLOSE option; this behavior is defined only for completeness and applications should call SQLFreeStmt or SQLCloseCursor to close cursors. But even if your [!INCLUDEssNoVersion] Native Client application sets the ODBC API version to be 3.5.x or later, the SQLCancel function will use the ODBC 2.x behavior.

See Also

SQLCancel
ODBC API Implementation Details