Sign in
Microsoft SQL Server Front End Blog
The writers of this blog are a part of the Microsoft SQL Server Manageability team. We will be blogging about our tools, scripts, webcasts, and miscellaneous tips that will help you get the most out of SQL Agent, Data collector and other tools
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Search Form
Tag Cloud
Activity Monitor
Backup
Data Collector
Database Mail
Powershell
Proxy
quoted_identifier
reports
Scheduler
scripting
SMO
SQL Agent
Sql Agent History
SQL Agent Logger
SQL Agent Scheduler
SQL Azure
SQl Server
SQL Server 2012 SP1
SQL Server Agent
SSMS Reports
XEvent
Monthly Archives
Archives
March 2013
(1)
February 2013
(1)
January 2013
(2)
December 2012
(1)
November 2012
(2)
September 2012
(2)
August 2012
(3)
July 2012
(2)
June 2012
(1)
May 2012
(2)
April 2012
(3)
March 2012
(2)
February 2012
(1)
January 2012
(1)
November 2011
(2)
July 2011
(4)
June 2011
(1)
April 2011
(2)
March 2011
(2)
February 2011
(3)
January 2011
(6)
December 2010
(2)
November 2010
(8)
October 2010
(6)
September 2010
(2)
Browse by Tags
MSDN Blogs
>
Microsoft SQL Server Front End Blog
>
All Tags
>
sql agent
Tagged Content List
Blog Post:
Workaround: SQL Server 2012 - OPENROWSET on sp_help_job throws "The metadata could not be determined"
Sethu Srinivasan
Issue: In SQL 2012, stored procedures that call any other stored procedures or extended stored procedures that return result sets should specify WITH RESULT SETS SQL Agent's stored procedure sp_help_job - returns single resultset if no parameters are passed to stored procedure. - returns 3 resultsets...
on
12 Jul 2012
Blog Post:
FIX: Incomplete Performance Condition alert in SQL Server 2012
Sethu Srinivasan
In SQL 2012, there was an issue with output string formatting that missed parameter replacement on the message that was sent as email for performance alerts. We have addressed this fix in SQL 2012 Cumulative update #2. You can download SQL 2012 CU2 from http://support.microsoft.com/kb/2703275/LN ...
on
20 Jun 2012
Blog Post:
Create a SQL Agent Job using Managed C++
Sethu Srinivasan
You could use the following code sample to create a SQL Agent Job using Managed C++ You can download the sample from MSDN http://code.msdn.microsoft.com/Create-SQL-Agent-job-using-f1ee5004
on
16 May 2012
Blog Post:
Create SQL Agent job using C# and SMO
Sethu Srinivasan
You could use the following code sample to create a SQL Agent Job using C#. You can download the sample from MSDN http://code.msdn.microsoft.com/Create-SQL-Agent-job-using-b95584e7
on
11 May 2012
Blog Post:
Resetting the Job Step Proxy
Jasamba
I would like to clarify how to reset a proxy used by specific job. Assuming that I have a job and for the first step of the job I’m using proxy, and the proxy Id = 3 If you want to reset the step proxy back to Null, how you will do it? Some of you may be misled by the article: http://msdn...
on
11 Apr 2012
Blog Post:
Automatic backups, one per day, and with different backup file names
Sethu Srinivasan
SQL Agent can be used to perform scheduled backup job to backup a database to a unique file name that is constructed based on the system date. To construct a unique file name, you can use SQL Agent’s token substitution mechanism. You can read more about token substitution at http://msdn.microsoft...
on
9 Nov 2011
Blog Post:
Backing up a database in a DB Mirroring configuration
Sethu Srinivasan
Background: Database Mirroring in SQL Server is used to increase database availability. You can read more about database mirroring at http://msdn.microsoft.com/en-us/library/ms189852.aspx . Database can be backed up only on the primary instance. On mirrored instance, database backup cannot be performed...
on
22 Jun 2011
Blog Post:
Please help us to build SQL Agent on SQL Azure
Jasamba
Please help us in building our next version, If you think that SQL Agent is a nice tool and you want us to continue to develop and support it, please vote for our feature on Normal 0 false false false EN-US X-NONE X-NONE ...
on
3 Mar 2011
Blog Post:
Limit resources used by SQL PowerShell Jobs using Resource Governor
Sethu Srinivasan
Resource governor in SQL Server can be used to limit resource consumption by specific application / user. Long running queries / tasks in SQL PowerShell might consume more SQL server resources. If you would like to set limits, you can do by enabling resource governor, define classifier function to assign...
on
19 Jan 2011
Blog Post:
Enabling email notifications in the SQL Agent for Alerting & Job monitoring
Jasamba
To enable email notifications in SQL Agent you will need to follow the following steps: 1. Configure Datbase Mail: create an email SMTP account and corresponding Email Profile. To do so please follow directions outlined in the blog post: "SQL Database Mail - Send Emails from SQL Server". 2. In...
on
24 Nov 2010
Blog Post:
Scheduled Policy Evaluation on multiple servers using MSX/ TSX in SQL Agent
Sethu Srinivasan
One of our customer was looking for ways to schedule a policy evaluation on multiple servers using their existing MSX/TSX infrastructure. I thought it would be better to blog an article that could help others looking for similar information Before we get into details, here are some basics. Please...
on
19 Nov 2010
Blog Post:
SQL Agent Issue with identifiers delimited by double quotation marks
Jasamba
The issue is related to default settings for quoted_identifier. In SSMS query window the default settings for quoted_identifier is ON. It means that the following code will work: DECLARE @Days INT SELECT @Days = 5 SELECT 'Test' , DateAdd ( "dd" , @Days , GetDate ()) But if you copy and paste...
on
5 Nov 2010
Blog Post:
Turning on Verbose logging in SQL Agent
Sethu Srinivasan
When any critical error / warning is reported by SQL Server Agent, it is written to a log file MSSQL\Log\SQLAgent.out. By default only critical errors and warnings are reported to this log file. If you would like to see additional information messages, here are the steps you could follow to enable verbose...
on
15 Oct 2010
Blog Post:
Creating multi steps SQL Agent job
Jasamba
I will explain how to add another step to existing job and configure it correctly. Let's assume that you already have a job with 1 step (for example as in Sethu's backup job example ) 1. Open SSMS (SQL Server Management Studio, make sure that SQL Agent is running) navigate to Jobs folder under...
on
13 Oct 2010
Page 1 of 1 (14 items)