|
>When you're updating only one field in a >file with around 100 fields is it more efficient >to do a write to the record format? >We know this will write the entire record. >Or is it better to just do an EXCEPT and >write just the one field? I can't speak to the efficiency question, but from a maintenance programmer's point of view, I much rather see the EXCEPT over the UPDATE. The intent of the code is VERY clear with the EXCEPT. If you are seeking efficiency, try creating a logical file which contains only the fields you need to actually use in the program. As with all recommendations on performance, measure before and after to see how the advice works on YOUR system! --buck
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.