--- title: "Stop a Query (Visual Database Tools) | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" 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: stevestein ms.author: sstein manager: craigg --- # Stop a Query (Visual Database Tools) 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](visual-database-tools.md), on the shortcut menu point to **Pane**, and then click **Clear Results**. ## See Also [Clear Query Results (Visual Database Tools)](clear-query-results-visual-database-tools.md) [Run Queries (Visual Database Tools)](run-queries-visual-database-tools.md) [Perform Basic Operations with Queries (Visual Database Tools)](perform-basic-operations-with-queries-visual-database-tools.md)