Subject Re: [firebird-support] Division by zero chech
Author Lester Caine
majstoru wrote:

> Hi,
> Does Firebird have a solution to check divizion by zero error?
> I have SP that update one table with some math operation with data
> from another table, when source table still have a records which will
> be generated divizion by zero, I cna't check this by SP code!

Just don't generate the divide by zero?
Check the divisor is not zero before using it, and produce a different
value to insert?

Lester Caine
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.