|
LOL
OK, I will try to explicate.
Yes, to say not to use an LF is perhaps not clear - still, it seems that people don't think of the implementation of a VIEW as
being an LF - you and I know that, but most don't think of the
lower-level stuff. Nonetheless, I agree for clarity.
An INDEX is also an LF and will never be allowed in the table list of a SELECT statement - or as a table in any statement that
I know of - is that right?
<<SNIP>>
CRPence wrote:
Since every SQL VIEW is a logical file, IMO it is best to attempt to be more clear by suggesting either to not use a DDS logical file [there is support for program described LF so even saying DDS LF is not entirely accurate], or that *if* using a LF then use only an SQL VIEW in a FROM clause. IIRC specifying an SQL INDEX logical file on the FROM clause gives an error; i.e. an SQL INDEX is explicitly prevented versus being allowed yet forced down CQE path as with DDS [keyed] LF.
<<SNIP>>
Vern Hamberg wrote:
One should almost never use a logical file in a query - SQL has
always ignored it and had to go back to the PF, then figure out
which index (LF) to use, by its own wisdom.
<<SNIP>>
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.