|
Generally, that's what I do. I'll take my statement and shove it through the "View and Explain" function in Navigator. It will then tell me what indexes to create and I go from there. Brian. -----Original Message----- From: Jake M [mailto:jakeroc@xxxxxxxxx] Sent: Friday, March 31, 2006 10:10 AM To: RPG programming on the AS400 / iSeries Subject: Re: SQL Update in RPGLE. I am glad the horse ain't dead, yet!! Here is a thought and please feel free to correct me but isn't the DB2 optimizer responsible for finding the most optimal access path after the SQL statements are handed over to DB2. What I am trying to get at is instead of making sure what the most efficient way of data retrieval in RPGLE is you can just throw in a SQL statement and let the DB2 optimizer figure out what is the best access path. Am I right? I am new to RPG so I may be totally wrong but just a thought.... Cheers, Jake. On 3/31/06, Tom Huff <tehuff@xxxxxxxxxxxxx> wrote: > > I still don't think the horse is dead. > Tom > >
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.