|
>Looking at the generated SQL code (with the SQL includes, SQLCA, etc.) >doesn't tell me much. It won't. The generated SQL code isn't used to access the data, it's used to access the SQL engine. The SQL engine is responsible for figuring out how to retrieve that data. You shouldn't see anything in the RPG that "understands" how that SQL is run. The best you can do is run the query in debug, but remember, run the query against production data. The "right" way to retrieve a row from a test table with 50 rows isn't the "right" way to get a row from the same table with 50 million rows. -Walden ------------ Walden H Leverich III President & CEO Tech Software (516) 627-3800 x11 WaldenL@xxxxxxxxxxxxxxx http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.)
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.