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.
| Author |
Topic |
|
PatDeV
Posting Yak Master
197 Posts |
Posted - 2007-05-18 : 16:28:26
|
| Hi,all how can i get daily job history in my mail everyday!! I tried using alert but could not make it to work!!thanksPat |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-05-18 : 16:32:37
|
| Did you enable db mail or sql mail? |
 |
|
|
PatDeV
Posting Yak Master
197 Posts |
Posted - 2007-05-18 : 16:50:21
|
| yes i have. and have set up notification to send email if job fails!! but need like report for job for whole day and duration and status!! |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2007-05-18 : 21:54:18
|
| You will need to write a query against the jobs tables in the msdb database, and setup a job to email you the query results.These are the job tables in msdb:sysjobssysjobschedulessysjobserverssysjobstepssysjobhistoryYou can refer to SQL Server Books Online to get information on these tables.CODO ERGO SUM |
 |
|
|
|
|
|