Rename Queries (Visual Database Tools)
Applies to: SQL Server
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
From the View menu, choose Solution Explorer.
In Solution Explorer, right-click the query you want to rename and click Rename in the shortcut menu that appears.
Type a new name for the query and then press Enter.
See Also
Design Queries and Views How-to Topics (Visual Database Tools)
Perform Basic Operations with Queries (Visual Database Tools)