When a query must be cancelled, a SQLCancel ODBC command is issued by the application (in this case, Strategy Query Engine) to the database. The following are some situations under which SQLCancel is issued by the Strategy Query Engine:
Per Strategy's experience, SQLCancel is a complex operation and its successful execution possibly depends upon a number of factors like the database itself, ODBC driver, database load, timing of query cancellation and others.
To trouble-shoot issues pertaining to query cancellation, it must be determined whether a SQLCancel command was issued by the Strategy Query Engine. This is done by obtaining an ODBC trace log.
Refer to Technical Document below on how to enable ODBC trace:
KB11979: How to turn on/turn off ODBC tracing in MicroStrategy Intelligence Server Universal 9.x
KB8699: How to enable 32-bit Open Database Connectivity (ODBC) tracing in MicroStrategy Intelligence Server 9.x
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.