SELECT sku, stockcolor, SUM(quantity); > FROM Products; > GROUP BY sku; > INTO CURSOR resultset>because the query involves an aggregate function (SUM) and the stockcolor field is not in the GROUP BY clause. In previous versions you could. The workaround is to issue SET ENGINEBEHAVIOR 70 immediately prior to issuing the query then SET ENGINEBEHAVIOR 80 afterwards.
SELECT sku, MAX(stockcolor) as Stockcolor, SUM(quantity); FROM Products; GROUP BY sku; INTO CURSOR resultsetWalter,