SQL Interruption

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

Oracle supports SQL Interruption in a similar way. The db client must issue an OCIBreak() OCI call to interrupt a query.

Solution

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