Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Backup history details EMAIL (past 24 hours) in HTML format

By Venugopal Saride,

Step 1: Create the view in your dba management database.

Step 2: Run the email section T-SQL which will send an email.

FYI - You need to create database mail in SQL Server and enable all required mail properties prior to using this script.

Reference : 

http://msdn.microsoft.com/en-us/library/ms188298(v=sql.105).aspx

http://msdn.microsoft.com/en-us/library/ms191189.aspx

Step 3: Create a job which is scheduled to run daily executing the mail T-SQL script. (This script is not included)

Reference:

http://msdn.microsoft.com/en-us/library/ms190268(v=sql.105).aspx

http://msdn.microsoft.com/en-us/library/ms187910(v=sql.105).aspx

Total article views: 1528 | Views in the last 30 days: 2
 
Related Articles
FORUM

Create Login Script

Error with Create Login Script

ARTICLE

How to create Policies using PowerShell scripts

This article explains how to create policies with user defined conditions in MS SQL 2008 using Powe...

SCRIPT

Generate Drop / Create Script for views, stored Procedures

This Script generates drop and create scripts for views or stored procedures.

SCRIPT

Dynamically create drop user statistics scripts

Generate script to drop any unwanted user created statistics.

FORUM

Script to create datestamp folder causing issue

Script to create datestamp folder causing issue

Tags
backup    
backup history    
email    
 
Contribute