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.

Any suggestions on catching this error condition.

Reply via email to