|
<snip> Just to be clear, I am a big fan of embedded SQL for record retrieval. It just seems like a lot of overhead to possibly build and prepare a statement or have the query engine do it's work for a single record. Maybe I'm misunderstanding how the system handles embedded SQL though. Wouldn't be the first time. :) Rick <snip> Rick, For a single record, SQL is less efficient than RPG since much of the same work (mostly running through the query optimizer) has to be done for both single record and multi-record result sets. Where SQL shines (as long as the files are properly indexed) is in doing bulk operations (like updating multiple records). SQL is also very good (and much faster than DDM files) when you are accessing data on remote systems. Matt
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.