Jobs fail for various reasons. SQL keeps history of the jobs which can be viewed in Enterprise Manager. You right-click a job and select "View Job History." In the Job History dialog, click on the "Show step details" check box. You can then view a lot of detail about each step of the job. Usually, this detail will tell why the job failed. For example, I retrieved the following explanation from the detail of a failed job on one of our servers.
Your transaction (process ID #9) was deadlocked with another process and has been chosen as the deadlock victim. Rerun your transaction. [SQLSTATE 40001] (Error 1205) Dec 15 2000 [SQLSTATE 01000] (Error 0) Dec 22 2000 [SQLSTATE 01000] (Error 0). The step failed.
You can also look for more information in the SQL Server logs.
Terry
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.