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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Disable Job

Author  Topic 

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-08-13 : 00:55:30
Hi,

How do you disable a job using TSQL?

thanks,

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-08-13 : 01:06:57
Use the sp_update_job stored procedure. There is a parameter for 'enabled' which will let you do this. Check out BOL for more info.
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-08-13 : 10:40:41
thanks timmy
Go to Top of Page
   

- Advertisement -