Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Miantenence plan job is enabled - so why no job history in msdb.sysjobhistory?

$
0
0

SQL 2005 SP2

Have a maintenence plan, which I was attempting to view the job history on.

Both from sql agent, and through the statement below.  

In both cases, I see NOTHING.

SELECT TOP 100 * FROM msdb.dbo.sysjobhistory jh
JOIN msdb.dbo.sysjobs j on jh.job_id=j.job_id
and j.name LIKE 'job_name_here'

I get nothing, yet Im sure this job has been running.  Its enabled and the properties say it was last executed on 4/28/2013 

So why nothing in sysjobhistory ?



Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>