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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How check a SQL job success or not?

Author  Topic 

thotrang
Starting Member

13 Posts

Posted - 2006-10-11 : 03:57:24
Hi expert,

I use a SQL Job that makes use of the BACKUP command. How can I check this job success or not?

Thanks

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-11 : 04:01:23
Right click the job and select job history from the context menu...


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-10-11 : 04:03:55
or use sp_help_jobhistory if want by command.

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2006-10-11 : 04:06:59
I guess it should be

msdb..sp_help_jobhistory

Chirag

http://chirikworld.blogspot.com/
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-10-11 : 05:27:07
quote:
Originally posted by chiragkhabaria

I guess it should be

msdb..sp_help_jobhistory

Chirag

http://chirikworld.blogspot.com/



Perfect !!

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

thotrang
Starting Member

13 Posts

Posted - 2006-10-12 : 04:33:52
Thank you very much.

I did it.
Go to Top of Page
   

- Advertisement -