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