Dela via


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

  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.

Note

It's best to retain the file extension DTQ.

See Also

Other Resources

Designing Queries and Views

Performing Basic Operations with Queries