How to: 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

Other Resources

Designing Queries and Views (Visual Database Tools)
Performing Basic Operations with Queries (Visual Database Tools)

Help and Information

Getting SQL Server 2005 Assistance