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)
 RAISERROR ,event viewer and job failure

Author  Topic 

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2007-06-10 : 07:12:34
i have this code:

RAISERROR ('ddd' ,50000,17) with log


and i have a job that is calling a Stored Procedure.
in the end of the Stored Procedure i am raising an error
so it will appear in the Event Viewer.
but the error raising makes the job to be sidplaied as "failed"
what can i do?
beacuse the JOB didnt failed, but the raise error mass things up

thnaks in advance
peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)
   

- Advertisement -