>From the Server Explorer
>I open a table in SQL Server
>I create a query
>I save the query
>
>(Later during the day ...)
>
>I would like to retrieve the query that I saved earlier, anybody knows how?
>
>Thank you in advance.
I typically create a database project for this. The basic steps are:
Open your solution.
From the solution explorer select the Solution root. Then right click and choose Add, New Project.
In the Add New Project dialog select “Other Projects” then “Database Projects” to create a new database project.
Once the database project is created you will see a Queries folder in the project. Right click under Queries and select “Add Query” to create a new query that can be saved and reloaded.
Michael McLain