Agent jobs

Technical Article

Job Summary

  • Script

This script lists the name, running and success status, last executed/currently executing step name, Average and Last duration, next run time and other related information about Jobs.

5 (10)

You rated this post out of 5. Change rating

2012-10-10 (first published: )

2,101 reads

External Article

Custom sp_start_job to delay next task until SQL Agent Job has completed

  • Article

The system stored procedure sp_start_job is a very useful T-SQL command that starts a SQL Agent job. The problem with this is that it starts the job and it doesn't wait until the job is finished and sometimes I want to start a job and wait until the job is finished and move on to another job or task that depends on the result of the previous job.

2010-11-29

3,405 reads

Blogs

Index Maintenance Can Change NORECOMPUTE Settings

By

I had a customer recently ask about a change in one of their constraints...

So You Think You Should Get a Radio

By

This is not database related, so if you’re not interested in hearing about something...

Speaking at SQL Saturday Austin 2025

By

SQL Saturday Austin 2025 is in just a few days. I am honored to...

Read the latest Blogs

Forums

fetch an execution plan from SQL Server's buffer cache

By Akash Rathi

Comments posted to this topic are about the item fetch an execution plan from...

A way for the team to keep track of changes made

By JP789

Is there a best practice way for the team to keep track of changes...

SQL Query Performance with Left Join

By juniorDBA13

I have a query that is performing poorly It has a left join to...

Visit the forum

Question of the Day

The Long Running Backup

I have a long running backup of the Sales database during a maintenance window that is going to take another 2 hours to complete on SQL Server 2022. I also need to perform some proactive work and add another file (ndf) to the Sales database to handle the expected growth of the next month. Can I do both simultaneously?

See possible answers