PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
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
--
Steve Wechsler/Senior DB Administrator/Sanford C. Bernstein & Co.
WechslerSM@bernstein.com 
"Never underestimate the power of human stupidity" - Lazarus Long
Support the Anti-SPAM amendment: http://www.cauce.org


> -----Original Message-----
> From: Thomas Santamaria [mailto:tsant@ms.com]
> 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
>