--1
USE msdb ;
GO
EXEC dbo.sp_help_jobactivity ;
GO
--2
select *
from msdb.dbo.sysjobactivity
where datediff(hh,start_execution_date ,stop_execution_date) > 1
------解决方案-------------------- select * from jobhistory where run_duration/10000 >1
------解决方案--------------------