Canceling Long-Running Queries
Because of how your application is set up, you might be able to cancel queries that run for a long time. For more information about your setup, contact your administrator.
To cancel a long-running query
Execute a query.
If the query does not return records after a specified period, then a dialog box appears.
Click Cancel.
A confirmation dialog box appears to confirm that the query canceled successfully.
Click OK.