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 Development (2000)
 Stored Procedures

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-20 : 09:41:35
Andrew writes "Operating System NT Server 4 sp 6
SQL Server Version : 2000 sp 1

Im creating an INSERT Trigger that will run sp_start_job to fire a custom task each time a record is entered into the table.
PROBLEM: I get the error message "Could not find stored procedure 'sp_start_job'.
I thought this was a standerd proc ? I am accessing as a dbAdmin and cannot find it any-where not even in master.
Has anyone else experianced this ???"

Jay99

468 Posts

Posted - 2002-03-20 : 11:02:43
sp_start_job should be in MSDB (at least in SQL 7 it is, and I am pretty sure it is in 2k) . . . maybe try again tomorrow.

Jay
<O>
Go to Top of Page

setbasedisthetruepath
Used SQL Salesman

992 Posts

Posted - 2002-03-20 : 11:45:18
perhaps you should upgrade to Operating System NT Server 4 sp 7.

setBasedIsTheTruepath
<O>
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-03-20 : 12:04:46
Yep Jay, they kept it in msdb with version 2000.

Modify the trigger so that the sp_start_job call reads "EXECUTE msdb..sp_start_job" and it should work.

Go to Top of Page
   

- Advertisement -