--- title: Open 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: - "opening queries" - "queries [SQL Server], opening" ms.assetid: 6d7ce59b-2ce6-42af-9330-84ce3dc1197e author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: --- # Open Queries (Visual Database Tools) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] You can open an existing query in Query and View Designer by using the **Open** command. ### To open a query in all panes 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.** > [!NOTE] > By default the Query and View Designer opens all of its panes (SQL, Criteria, Diagram, and Results), but that default can be changed in the **Options** dialog box. To open these panes if they are closed, from the **Query Designer** menu, point to **Pane**, and then click the pane you want to open. ## See Also [Perform Basic Operations with Queries (Visual Database Tools)](../../ssms/visual-db-tools/perform-basic-operations-with-queries-visual-database-tools.md) [Save Queries (Visual Database Tools)](../../ssms/visual-db-tools/save-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)