Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
yakoo
Constraint Violating Yak Guru
312 Posts |
Posted - 2002-09-12 : 11:15:28
|
| Does anyone know of an extended stored procedure or a table that can be queried to retrieve job history. Or does anyone know how the job history of a sql job is displayed in the EMGot SQL? |
|
|
solart
Posting Yak Master
148 Posts |
Posted - 2002-09-12 : 11:27:05
|
| Using EMIn left pane select serverin left pane select management folderin left pane select SQL Server agentin left pane select jobsin right pane select job you are interested inright click jobselect view job historysolart |
 |
|
|
yakoo
Constraint Violating Yak Guru
312 Posts |
Posted - 2002-09-12 : 11:37:57
|
| I know you can do that, but you have to do it manually. Is there any way to query that data from a table? Where does EM retrieve that information from?I know there is an extended stored procedure (xp_sqlagent_enum_jobs) that will give you a list of the jobs and some basic information on them. I just need to be able to determine, with a query, the job history (more specifically if a job faild).Got SQL?Edited by - yakoo on 09/12/2002 11:38:55 |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-09-12 : 11:45:18
|
How about...sp_help_jobhistory????It's AMAZING what you can find in Books Online... Edited by - robvolk on 09/12/2002 11:49:46 |
 |
|
|
yakoo
Constraint Violating Yak Guru
312 Posts |
Posted - 2002-09-12 : 11:59:19
|
| Your right nr...I should have went straight to BOL. What was I thinking (Smack...)Got SQL? |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-09-12 : 11:59:58
|
| nr? |
 |
|
|
yakoo
Constraint Violating Yak Guru
312 Posts |
Posted - 2002-09-12 : 12:17:57
|
seems like I can't even read today. Got SQL? |
 |
|
|
|
|
|