--- title: Modify Queries 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: - "modifying queries" - "queries [SQL Server], modifying" ms.assetid: e2618a89-90fb-43d8-ac4e-cabd2aa3f1dc author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: --- # Modify Queries (Visual Database Tools) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] Open a query to modify it in Query and View Designer. ### To open a query 1. From the **View** menu, click **Solution Explorer**. 2. In Solution Explorer, right-click the query you want to open and click **Open**. 3. To modify the query in Query Designer, highlight the SQL statements, right-click the highlighted area and select **Design Query in Editor.** Query Designer is now open and you can make modifications. ## See Also [Run Queries (Visual Database Tools)](../../ssms/visual-db-tools/run-queries-visual-database-tools.md) [Work with Data in the Results Pane (Visual Database Tools)](../../ssms/visual-db-tools/work-with-data-in-the-results-pane-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)