On Tue, 2004-06-08 at 22:03, Kartal Goksel wrote:
> I wondering if anyone else has seen this. 
> 
> I have a sql statement that does a sum on a integer field. Once the sum
> is out of the range of Sybase supported integer Sybase dies due to
> "Arithmetic Overflow" but
> 
> $sth->execute or die "$DBI:errstr" 
> 
> Will not die.
> 
> I printed out $DBI::errstr and it was 
> 
>       Server message number=3606 severity=10 state=0 line=1
> server=SF_X_AD_LIVE1text=Arithmetic overflow occurred.
> 
> So even though $DBI::errstr is populated. Execute will not die????? And
> fetch will act like as if though the query did not return anything.

Could you please send me a script that reproduces the problem?

Thanks,

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
[EMAIL PROTECTED]                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html


Reply via email to