SQLCancel 取消 hstmt 或查询的处理。
下表描述了此该函数的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息
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.