Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Error 2618 Invalid Calculation Division by Zero - forum topic by tclear

$
0
0

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.
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>