|
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Birgitta Hauser
The other advantage when selecting the data you need, is the
query optimizer may use an IOA (Index Only Access), that
means an index or logical file can found where all requested
information is stored in the key fields, so no further access
to the data base record is needed. IOA is the fastest method
to access data. When using SELECT * an IOA will not be possible.
The other advantage when using field selection instead of
SELECT *, you can enhance your table without any need to
recompile your programs. When using SELECT * you may need an
(external) data structure to hold the information and this
data structure layout will included at compile time into your
program object. To get the current data structure/file layout
included, you need to recompile your programs.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.