|
> Columns specified in the ORDER BY clause must be in the result set. Simon, As of V5R2, this is not true any more. You can specify any table column in the ORDER BY : for example SELECT cola FROM file ORDER BY colb (I suppose colb will be added to cola in the result set, under the covers). Does not apply for a SELECT with GROUP BY. Bonne réception/Best regards Richard THEIS Education iSeries 400, Sce 8075, MTG 01.49.14.46.34 / Fax 01.43.04.59.85 theis_richard@xxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.