Home Forums SQL Server 7,2000 T-SQL T-SQL statement to return SQL Job Last Run Date RE: T-SQL statement to return SQL Job Last Run Date

  • Thanks for posting this script. I'm having trouble modifying it to my use though. I'm trying to create a script that I can have dbmail run to email me the last run status of every job. The script given, if I remove the where section works, except it gives the last run for each type of status. If there's been a failure and a success within it's history it shows both with dates.

    Any ideas on how I can just have it show the late run status and time?