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.