Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL script to find failed Scheduled tasks on multiple DB's 1

Status
Not open for further replies.

ASAND100

MIS
Oct 24, 2000
18
0
0
GB
Can any one point me in the right direction!

I have recently inhereted several SQL 6.5 servers and they all run scheduled maintenace tasks however several are failing.

Can any one point me in the correct direction for creating this script if this is possible!


Thank you
 
I'm not sure about 6.5 but 2k has a stored procedure sp_help_jobhistory. Check it out in BOL. JHall
 
Additionally, you want to post in the SQL Server forum. JHall
 
You are correct thank you stored procedure for 6.5 is
sp_helphistory

but if I try to run it I get the following! agghhh

Msg 2812, Level 16, State 4
Stored procedure 'sp_helphistory' not found.

Is there any way to confirm if this stored procedure exists in this data base! (put it there if not! thank you!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top