×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi,
We have a SQL problem using JDBC with AS400:
SELECT FECHA, CCLAV FROM CO1DCACREU.LSM0 ---> OK
SELECT FECHA, CCLAV FROM CO1DCACREU.LSM0 ORDER BY 1 ---> OK
SELECT FECHA, CCLAV FROM CO1DCACREU.LSM0 ORDER BY 2 ---> NOK: Error SQL0125
SELECT FECHA, CCLAV FROM CO1DCACREU.LSM0 ORDER BY CCLAV ---> NOK: Error
SQL0208
SELECT FECHA, CCLAV FROM CO1DCACREU.LSM0 ORDER BY FECHA ---> NOK: Error
SQL0208

Of course it works directly in AS400.
Con you help us?

Thanks very much

Albert Dalmau




This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.