![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a table that I can access through a query that will allow me to look up the job log history of jobs run by the SQL Server Agent? I have a DTS package that runs nightly (via a job) and would like to create a query to pull success/fail information from the job history. Thanks, Chet |
#3
| |||
| |||
|
|
Found the answer to my own question: EXEC sp_help_jobhistory NULL, 'Job Name' If this is stored in a table I'd still like any info on how to access it using a SELECT statement. Thanks. "Chet Cromer" <chetsjunkATccrtc.com> wrote in message news:eU$24lZ8DHA.1428 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Is there a table that I can access through a query that will allow me to look up the job log history of jobs run by the SQL Server Agent? I have a DTS package that runs nightly (via a job) and would like to create a query to pull success/fail information from the job history. Thanks, Chet |
![]() |
| Thread Tools | |
| Display Modes | |
| |