Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Division by zero Error - response (3) by dnoeth

$
0
0

When you're 100% shure it's failing due to the AVG you should open an incident.
AVG(col) is SUM(col)/COUNT(col), a divivion by zero is only possible with be a zero as the result of a COUNT when there are only NULLs. But then it's NULL/0 which should return NULL.
Dieter


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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