In TeamSQL, there are two types of executing queries: Execute and Execute as a script.
If you execute long queries using the Execute button, you have to wait until the finish of the query to continue working on other tasks. You might have difficulty if you often use long queries. There is a solution to this problem in TeamSQL: Execute as a script.
Execute as a script
To execute a query as a script, you can use the “Execute as a script” button which appears clicking on the down arrow at the right of the Execute button.
Select the query which you want to execute separately by highlighting with your cursor and then click the Execute as a script button.