Partilhar via


How to: Save Queries (Visual Database Tools)

Save your query when you want to work with it later. Note that running your query does not save your changes.

To save a query

  1. Create your query.

  2. From the File menu, click Save <query_name>.

    Note

    A newly created query will be given a system name. To choose your own name for the query choose Save<query_name> As.

  3. The query will be saved in the Query folder of the project in Solution Explorer.

See Also

Tasks

How to: Create Queries (Visual Database Tools)
How to: Run Queries (Visual Database Tools)
How to: Discard Changes Made to Queries (Visual Database Tools)

Other Resources

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

Help and Information

Getting SQL Server 2005 Assistance