--- title: Stop a Query ms.custom: seo-lt-2019 ms.date: 01/19/2017 ms.prod: sql ms.prod_service: sql-tools ms.technology: ssms ms.topic: conceptual helpviewer_keywords: - "ending queries [SQL Server]" - "stopping queries" - "queries [SQL Server], stopping" ms.assetid: b97c5099-1039-4e6a-95df-14e1a34af344 author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: --- # Stop a Query (Visual Database Tools) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] If you see that the query is taking too long or is not returning the results you expect, you can stop the query if it has not already finished. ### To stop a query - Right-click anywhere in the [Results pane](../../ssms/visual-db-tools/results-pane-visual-database-tools.md), on the shortcut menu point to **Pane**, and then click **Clear Results**. ## See Also [Clear Query Results (Visual Database Tools)](../../ssms/visual-db-tools/clear-query-results-visual-database-tools.md) [Run Queries (Visual Database Tools)](../../ssms/visual-db-tools/run-queries-visual-database-tools.md) [Perform Basic Operations with Queries (Visual Database Tools)](../../ssms/visual-db-tools/perform-basic-operations-with-queries-visual-database-tools.md)