How to: Rename Queries
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.
Note
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
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.
Note
It's best to retain the file extension DTQ.