|
Hi Joel, I think the clarity needs some clarification :-) You are correct that views have columnar abilities (quite a lot of them) that are not available in DDS but views and indexes are two very seperate things. A view does NOT incorporate an index. When using a view (using SQL select) it is the ORDER BY CLAUSE and WHERE clauses that are used to determine which index is used. A logical file is not just an index. It can do sequence, selection, projection, union and join - just not as many options as SQL. It's one big advantage (as Rob pointed out) is that a logical file can define a combined view and index. This is of enormous value for traditional I/O. Only SQL defined indexes are really accessible by traditional I/O - which means you can't make use of all those cool features that wer defined in views (without using embedded SQL). Paul Tuohy ----- Original Message ----- From: "Joel Cochran" <jrc@xxxxxxxxxx> <snip> > And for clarity, a View incorporates an index. A view has columnar > abilities that are not available in DDS. A view is more than an index, > where as a logical file, no matter how complex, is just an index. A > view is limited to the subfields mentioned within. >
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.