|
<snip> And why when I try to test TranDate in a Where clause that it spits out "Column TRANDATE not in specified tables"? </snip> It's a rule : the SELECT statement uses the WHERE clause to populate a result table. You can rename the resulting columns, but you cannot use the resulting name in the WHERE clause (catch 22 situation) ! However, you can use it in the ORDER BY clause, as the ORDER BY is applied on the result table. HTH Bonne réception/Best regards Richard THEIS iSeries Education, France theis_richard@xxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.