Viewing post 1 (of 1 total)
Thanks all.
I ended up using the query here http://raoulteeuwen.blogspot.com/2008/09/query-job-last-run-status-in-ms-sql.html
which uses sp_help_job. The status code is 5 for a job that was never run.
September 13, 2010 at 4:11 am
#1219932