--- title: Rename 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: - "renaming queries" - "queries [SQL Server], names" ms.assetid: a263483e-87ba-49c4-b154-3e7bdf33063b author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: --- # Rename Queries (Visual Database Tools) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] You can rename any query that is not currently open for editing. The following procedure assumes that the query you want to rename is closed. ### To rename a query 1. From the **View** menu, choose **Solution Explorer**. 2. In Solution Explorer, right-click the query you want to rename and click **Rename** in the shortcut menu that appears. 3. Type a new name for the query and then press Enter. ## See Also [Design Queries and Views How-to Topics (Visual Database Tools)](../../ssms/visual-db-tools/design-queries-and-views-how-to-topics-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)