Viewing 3 posts - 1 through 4 (of 4 total)
Actually it's almost perfect except I put the max around the run_duration and grouped by job_id and run_date inside the LEFT JOIN.
from msdb.dbo.sysjobschedules SJ
join msdb.dbo.sysjobs...
June 17, 2010 at 9:36 am
#1181661
Thanks so much! I haven't tried this yet but this should be very helpful.
June 17, 2010 at 9:15 am
#1181637
Thanks... BUT - I forgot to include one important piece of information: I want the inner query to just grab the max run time... but let me give...
June 16, 2010 at 7:32 am
#1180964