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

  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)
Perform Basic Operations with Queries (Visual Database Tools)