SQLCancel (core level only)

SQLCancel cancels the processing on an hstmt or a query.

The following table describes the SQLSTATE and error values for the function.
SQLSTATE Error value Error message
01000 -11001 General warning
01S05 -11010 Cancel treated as FreeStmt/Close.
70100 -11039 Operation aborted
S1000 -11060 General error
S1001 -11061 Memory-allocation failure
08S01 -11301 A protocol error has been detected. Current connection is closed.