--- title: "Rename Queries (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: - "renaming queries" - "queries [SQL Server], names" ms.assetid: a263483e-87ba-49c4-b154-3e7bdf33063b author: stevestein ms.author: sstein manager: craigg --- # Rename Queries (Visual Database Tools) 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)](visual-database-tools.md) [Perform Basic Operations with Queries (Visual Database Tools)](perform-basic-operations-with-queries-visual-database-tools.md)