Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on a view?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Index on a view?
Divers
Thread ID:
00499009
Message ID:
00499009
Vues:
62
I am embarking on unknown territory in creating a VFP front for a rather large Oracle database.

When my form opens, I want it to be blank, and the user will then select one of four fields as criteria for a query. Then the query is sent to the database and retrieves one record for updating. The one record is fields from 8 or 9 tables with verious join conditions and is structured in a rather complicated view. several of the fields will be modifiable by the user and then I want to update the database with the additional or updated data.

I use noDataOnLoad, and do not retrieve data until the query runs. In a VFP database I would have the four fields indexed and do a seek to locate the appropiate record. But views are not indexed, so must I somehow invoke the ORACLE index and search for the matching field, before executing the query?

The question is how to retrieve that record without having to scan all these tables? I guess I am spoiled by indexdeek()
MSCE, MCSP, Microsoft Channel Partner

Relax, Boss. We will meet the deadline! What? You want to add MORE? What do you mean, Over Budget?

Opinions and comments are the sole responsibility of the sender, and accuracy, correctness, or pertinence is considered coincidental.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform