× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You don't explicitly use an index with a view - the query optimizer will
determine which indexes to use based on selection criteria and ordering for
queries utilizing the view.

Table A, Columns A1, A2, A3, Index on A1
Table B, Columns B1, B2, B3, Index on B1
Create view myview as select a1, a2, a3, b1, b2, b3 from a join b on (a1 =
b1). No index used here.
Select * from myview where A1 in (1,2,3). Index used here to select rows
due to selection criteria.

--Loyd




On Fri, May 11, 2012 at 9:31 AM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:

Using DDS I can create a "view" that has an index and some data from one
table and data from other joined tables.

Can I do the same using SQL? at V7.1

TIA
Raúl


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.