Re: TRUNC(BIN) and COMP-5



"William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx> wrote in message
news:mPOUi.263404$zt4.170346@xxxxxxxxxxxxxxxxxxxxxxxxx
I realized that I made one mistake in my reply to RW.

COMP-5 and COMP with TRUNC(BIN) perform identically. The advantage of
COMP-5 is ....

If I may introduce an observation here...

If one is relying on the specific performance of TRUNC(), does that not
suggest one is catering to overflow, which further suggests the offending
code should be reworked to avoid overflowing both primary and intermediate
results or at the very least be handled with an ON SIZE ERROR clause?

Inquiring Minds Want to Know!

--
Michael C. Mattias
Tal Systems Inc.
Racine WI
mmattias@xxxxxxxxxxxxxx



.



Relevant Pages