Up Prev Next
From: "Wechsler, Steven M" <WechslerSM at bernstein dot com>
Subject: RE: divide by zero error
Date: Oct 25 1999 6:21PM
Check your Adaptive Server's RUN_server file to see if you have -T 3610 set
- that tells the server to return NULL rather than raise an error.
There is no process-level option that I'm aware of.
Steve Wechsler/Senior DB Administrator/Sanford C. Bernstein & Co.
"Never underestimate the power of human stupidity" - Lazarus Long
Support the Anti-SPAM amendment: http://www.cauce.org
> -----Original Message-----
> From: Thomas Santamaria [mailto:firstname.lastname@example.org]
> Sent: Monday, October 25, 1999 1:51 PM
> To: SybPerl Discussion List
> Subject: divide by zero error
> I was slightly surprised to see that a divide by zero error does not
> cause either the message or error handlers to be called. I have a job
> that calls a stored proc that encountered this problem, however there
> was no real trace of this error.
> Is there any way (short of checking all of your denominators) to trap
> this error?