Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

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:

> -----Original Message-----
> From: Thomas Santamaria []
> 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?
> Thanks,
> Tom