About 928,000 results
Open links in new tab
  1. sql server - how to know status of currently running jobs - Stack Overflow

    Aug 26, 2013 · It looks like you can use msdb.dbo.sysjobactivity, checking for a record with a non-null start_execution_date and a null stop_execution_date, meaning the job was started, but …

  2. sql - How can I determine the status of a job? - Stack Overflow

    Oct 14, 2008 · You can see the jobs and current statuses in the SQL Server Agent part, under Jobs. If you pick a job, the Property page shows a link to the Job History, where you can see …

  3. query to show currently running sql agent jobs - Microsoft Q&A

    Mar 25, 2023 · Using Tsql query I want to know currently running sql agent jobs and how long they have been running in [dd hh:mi:ss]? Expected output: job name , start time, duration [dd …

  4. Script to see running jobs in SQL Server with Job Start Time

    Nov 23, 2023 · how to write script to see running jobs in SQL Server with Job Start Time? SELECT sj.name, sja.run_requested_date, CONVERT(VARCHAR(12), …

  5. Alerts for Long Running SQL Server Agent Jobs

    Nov 30, 2023 · We’ll build a solution that uses a scheduled SQL Agent job that can check for other jobs that may be running for a long time. The msdb.dbo.sysjobactivity table can be used …

  6. Checking the status of SQL Server Agent jobs

    As a DBA it’s important to quickly identify any issues with SQL Server Agent jobs. This article includes a number of scripts which make it easy to identify which jobs have failed and which …

  7. t sql - How to accurately detect if a SQL Server job is running

    May 3, 2011 · If it indicates it IS running, I use the sp_help_job method to check if the job is running. if that returns that it's NOT running. I bump a counter and continue. – DarinH

  8. Different ways to execute a SQL Agent job - MSSQLTips.com - SQL Server

    Apr 15, 2009 · SQL Server Agent is the job scheduling tool for SQL Server. To execute a job on demand using the GUI, open the SQL Server Agent tree, expand Jobs, select the job you want …

  9. SQL SERVER – Details About SQL Jobs and Job Schedules

    Jan 31, 2020 · SQL SERVER – T-SQL Script to Check SQL Server Job History; How to List All the SQL Server Jobs When Agent is Disabled? SQL SERVER – SQL Agent Job and …

  10. How To Check if Job is Running? – SQLServerCentral Forums

    Feb 9, 2004 · You can use this in a conditional statement without building a temp table. It does run a little biut slowly, though (takes about 4 seconds on my server). select J.Name as …

  11. Some results have been removed
Refresh