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
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