John Liu Blog

Every drop counts

SQL Agent Maintenance Plan

SQL Agent Maintenance Plan runs SSIS package. When troubleshooting maintenance plan job error, following query might help to view detailed error message as the job history might not contain these information. SELECT TOP 20 * FROM msdb.dbo.sysmaintplan_logdetail ORDER BY start_time DESC;