Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Find out idle query...

$
0
0

Hi,

i am using  sql server 2005

I have some  Stored procedures deployed in sql agent.

i need  to check following things.

1) if any  statement in SP taking execution time  more than normal time.

i need  check that any  statement running or not in back ground . if command running need to
wait some tome else kill that job and restart the job.

here how can i find out the query is  in running or idle mode.


thanks in advance



Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>