On Wed, Jul 18, 2012 at 1:04 PM, Rafael Copquin <[email protected]> wrote: > If you are using SET ENGINEBEHAVIOR 80 or 90 the group by clause should > have been written as follows: > > GROUP BY SHIPNO, pono,vendor,REFNO,REFDATE,Complete > > (You must list all the fields that do not contain an aggregate function in > the group by clause) > > The way you wrote it only works if your set enginebehavior setting is 70 > > The above is so you can make your sql statement compatible with SQL Server -----------------------
Amazing that they added the switch to keep it working in a broken fashion instead of forcing people to do it properly. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cajidmy+l7t_lx2un2qnr1nbqomjufqx2fstnw+j8k8_z_dd...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

