Bug in AVG under GROUP BY - gives INCORRECT RESULTS - v7.xx
Posted in 1997
Informix has just confirmed that under some circumstances the AVG function combined with a GROUP BY clause gives incorrect results. I have seen this with NULLs treated as zeros. The problem apparently affects all 7.xx versions of SE an Online, including the latest ones. It may be connected with hash joins. I thought those of you without support contracts (we bought one specifically to sort this problem out) would appreciate being warned about this problem. Manufacturers of products other than software recall faulty products and replace them. We have to pay for correction of manufacturing defects. How many people actually check the results the database gives? I discovered it because another check in another system failed unusually frequently. Peter -- Peter Lancashire Mail: Peter.Lancashire.PL1@bayer.co.uk Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 All opinions are my own and not those of Bayer plc.