Re: TSQL to find all running SQL Agent jobs
From: avnrao (avn_at_newsgroups.com)
Date: 12/01/04
- Next message: John Bell: "RE: TSQL to find all running SQL Agent jobs"
- Previous message: David Portas: "Re: This is odd"
- In reply to: Hassan: "TSQL to find all running SQL Agent jobs"
- Next in thread: John Bell: "RE: TSQL to find all running SQL Agent jobs"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 13:04:24 +0530
sp_help_job @execution_status = 1 will return all jobs that are currently
executing.
you can refer to system tables like sysjobs* for making the query. but its
not recommended. always use sp_* procedures.
Av.
http://dotnetjunkies.com/WebLog/avnrao
http://www28.brinkster.com/avdotnet
"Hassan" <fatima_ja@hotmail.com> wrote in message
news:#dcFFV31EHA.2016@TK2MSFTNGP15.phx.gbl...
> I've looked at sp_help_job but cant really seem to find out current
> execution status . So basically I want to be able to run a TSQL that will
> list all jobs that are currently running
>
>
- Next message: John Bell: "RE: TSQL to find all running SQL Agent jobs"
- Previous message: David Portas: "Re: This is odd"
- In reply to: Hassan: "TSQL to find all running SQL Agent jobs"
- Next in thread: John Bell: "RE: TSQL to find all running SQL Agent jobs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|