SQL Interruption

With Informix®, it is possible to interrupt a long running query if the SQL INTERRUPT ON option.

DB2® UDB 9 supports SQL Interruption in a similar way as Informix. The db client must issue an SQLCancel() ODBC call to interrupt a query.

Solution

The DB2 database driver supports SQL interruption and converts the native SQL error code -952 to the Informix error code -213.