I have checked, and checked, included NULLIFZERO where applicable.
When I run the query with this last filter commented out
-- AND ABS(REC_VAL - ORIG_VAL)>3
the query returns records.
Remove the comment (--)
AND ABS(REC_VAL - ORIG_VAL)>3
the SQL Assistant returns the divide by zero error.
REC_VAL is a calculated recommended replacement value
for the ORIG_VAL.
Want to filter out any cases where the recommended value is
less than three units (+/-) from the original value.
Tags:
Forums: