SQL Server Agent

Setting Up Your SQL Server Agent Correctly

  • Article

It is important to set up SQL Server Agent Security on the principles of 'executing with minimum privileges’, and ensure that errors are properly logged and alerts are set up for a comprehensive range of errors. SQL Server Agent allows fine-grained control of every job step that should allow tasks to be run entirely safely even if they occasionally need special privileges.

2014-06-13

3,563 reads

Querying SQL Server Agent Job History Data

  • Article

Often times we are tasked with having to programmatically come with a list of durations per SQL Server Agent Job to trend the run times and order the results by date. Unfortunately it's not always easy in the way the data is stored in the system tables in the MSDB database. This tip explains how to use the system tables to get the data into the correct format for dates and job durations.

2013-01-02

3,890 reads

Blogs

SQL in the City Comes Back to Seattle

By

This year at the PASS Summit, Redgate is holding our SQL in the City...

Backup Techniques for SQL Server on Azure Virtual Machines

By

In the previous blog post I did a quick overview building a SQL VM...

SQLCover 0.5 - Fixes, smaller features and an exciting surprise

By

It has been a little while but I have updated SQLCover to include a...

Read the latest Blogs

Forums

Exception handling for backup related errors.

By vsamantha35

Hi All, Need some help in exception handling. In below code, I want to...

DB Log File Location Error

By na_ma_cool

Hi, I am taking full backup of db on remote location. The issue we...

SQL query help

By sqlenthu 89358

I have a table like this: Year month col_abc1 col_abc2 col_abc3 col_abc4 col_processing 2019...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers