16.11.3 SQLCancel
- Organization of this subsection
(1) Function
This ODBC function cancels the SQL statement processing that is underway.
(2) Format
SQLRETURN SQLCancel ( SQLHSTMT StatementHandle /* In */ )
(3) Arguments
- StatementHandle
-
Specifies a statement handle.
Specify a value that was output by *OutputHandlePtr of SQLAllocHandle before this function is executed.
(4) Return value
This ODBC function returns SQL_SUCCESS, SQL_ERROR, or SQL_INVALID_HANDLE.
(5) SQLSTATE
This ODBC function does not return SQLSTATE.