Methods and apparatuses to cancel database queries from a web application
user interface in a networked database application. In one embodiment,
the method includes receiving a user request to cancel a query previously
sent to a database and calling an application programming interface (API)
provided by the database to terminate one or more statements running on
the database, the one or more statements being related to the query.