Subject | Re: [firebird-support] Division by zero chech |
---|---|
Author | Lester Caine |
Post date | 2005-12-29T08:54:35Z |
majstoru wrote:
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.
> Hi,Just don't generate the divide by zero?
>
> 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!
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.