Professional Documents
Culture Documents
in SQL Server
As a DBA sometimes we need to verify certain details for currently running jobs, jobs steps,
jobs description and commands and queries used in jobs etc. We can extract these details
by joining tables sysjobs and sysjobsteps and can find all Enabled and Running Jobs in SQL
Server with a simple query.
FROM msdb.dbo.sysjobs SJ
ON SJ.job_id = SJS.job_id