Greetings -
If you are creating many queries, chances are you're probably going to run them over and over again. So, you may want to consider creating stored procedures. That would be the equivalent of "saving" the queries - as you are asking. In addition, stored procedures offer a lot of flexibility beyond the static query you'd save as a text file - query.sql which you'd load and run time and again.. Check out
www.sqlteam.com (this is one of many sites out there) which can help you out with stored procedures, as well as the wrox books. I found SQL Server 2000 Programming a great book...
But, if all you need to do is save the query to the database and run it whenever you want - try this:
1) Incorporate your query as outlined below into a CREATE stored procedure syntax:
Your query:
SELECT <COLUMNS> FROM <TABLENAME> WHERE <CONDITION>
Create Stored Procedure syntax:
CREATE PROCEDURE uspMyStoredProdedure
AS
SELECT <COLUMNS> FROM <TABLENAME> WHERE <CONDITION>
GO
2) Then you can EXECUTE that stored procedure as often as you'd like to:
In query analzyer: EXECUTE MyStoredProcedure
That should get you started....