Re: Ignoring Errors
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 12:43:15 -0400
Check out the error handling sections of Erland's web site:
http://www.sommarskog.se/
--
Andrew J. Kelly SQL MVP
<googlemike@xxxxxxxxxx> wrote in message
news:1113236973.134465.132330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have some "best effort" jobs that try at various times to walk over
> missed records from one system to another about 5 times. After that,
> the data becomes stale and is no longer usable, so I have another
> process that comes after that to investigate the problem.
>
> The problem I'm having is that when my best effort jobs ran in MS SQL
> Server, they would run and then bomb out immediately. I want it instead
> to just continue on error.
>
> Meanwhile, I then switched the jobs to osql.exe and Task Scheduler this
> weekend. The results were exactly the same -- the job dies on error.
>
> Can you help me figure out a way either for osql.exe to continue on
> error, or for me to ignore all stored procedure errors and just keep on
> continuing?
>
> I'm used to VB's "on error resume next" and unfortunately I don't see
> one in MS SQL Server. This is absurd!
>
.
- References:
- Ignoring Errors
- From: googlemike
- Ignoring Errors
- Prev by Date: Ignoring Errors
- Next by Date: Re: Ignoring Errors
- Previous by thread: Ignoring Errors
- Next by thread: Re: Ignoring Errors
- Index(es):
Relevant Pages
|