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

Error 2618 Invalid Calculation Division by Zero - response (2) by tclear

$
0
0

WHERE F.STORE_NBR = S.STORE_NBR
 AND F.ITEM_NBR = S.ITEM_NBR
 AND F.ITEM_NBR = P.ITEM_NBR
 AND F.ITEM_NBR = I.ITEM_NBR
 AND F.ORIG_VAL>0
 AND F.SUB_VAL >0
 AND F.ORIG_VAL <> REC_TTL
-- AND ABS(REC_VAL - ORIG_VAL)>3
 
with the last line commented out, the query runs.
remove the comments, the divide by zero error is returned


Viewing all articles
Browse latest Browse all 14773

Trending Articles