Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 query

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2011-09-26 : 11:47:24
I want consolidate the notification emails of various jobs in one reports instead of multiple notification emails.

Thansk for your help in advance !

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-09-26 : 11:49:27
you mean sent a single notification for all jobs giving their statuses? create a custom logging procedure to log the execution status of jobs to a table. then use a query to show the results of table as email content.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2011-09-26 : 12:36:41
Thanks Visakh for immediate response !

Yes,sending a single notification for all jobs giving their status.

Please share if you have code for this.

Thanks

Go to Top of Page
   

- Advertisement -