Search code examples
sql-workbench-j

How to stop a running query in SQL Workbench/J


Is there a command or function to kill/stop a running query in SQL Workbench/J? I searched through the user manual http://ensdemos.com/almudon.com/uploads/reports/SQLWorkbench-Manual.pdf which does not seem to mention it.


Solution

  • Maybe you accidently removed the "Cancel button" from the toolbar. You can get it back using "Tools » Configure toolbar". Then you can either use "Reset to default" or drag the button to the location you want.

    But you don't really need the toolbar button, you can also do this through "SQL » Cancel" while the statement is running:

    enter image description here