Newb: Managing multiple queries

I am currently using enterprise manager to run multiple queries on a
single table in a DB. I refresh these queries every few minutes. Due
to the huge number of them I was looking for a better way (or should I
just say "a way") to manage/save these queries so I can recall them
easier/faster for monitoring purposes. Suggestions?

TIA.
Akhenaten [ Do, 06 Dezember 2007 19:38 ] [ ID #1887067 ]

Re: Managing multiple queries

Hi,

Maybe creating a stored procedure (or more, if the queries are logically
grouped) will help you. Then you would need just to execute the stored
procedures in Query Analyzer (which is the tool intended to run queries
anyway). Alternatively you can save the queries to a script file, and then
open and run in Query Analyzer.

HTH,

Plamen Ratchev
http://www.SQLStudio.com
Plamen Ratchev [ Fr, 07 Dezember 2007 05:45 ] [ ID #1887929 ]

Re: Newb: Managing multiple queries

On Thu, 6 Dec 2007 10:38:06 -0800 (PST), Akhenaten
<jonkokko [at] gmail.com> wrote:

If I understand you correctly you need an application (Access ADP, or
..NET) to call your queries based on a timer or a button click. SQL
Server tools alone are probably not going to do the trick.

-Tom.



>I am currently using enterprise manager to run multiple queries on a
>single table in a DB. I refresh these queries every few minutes. Due
>to the huge number of them I was looking for a better way (or should I
>just say "a way") to manage/save these queries so I can recall them
>easier/faster for monitoring purposes. Suggestions?
>
>TIA.
Tom van Stiphout [ Fr, 07 Dezember 2007 05:44 ] [ ID #1887930 ]
Datenbanken » comp.databases.ms-sqlserver » Newb: Managing multiple queries

Vorheriges Thema: Cannot move msdb/model even with -T3608
Nächstes Thema: Connection problem to Informix from SQL Server 2005 with Unicode data