Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on a view?
Message
 
À
24/04/2001 10:35:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00499009
Message ID:
00499036
Vues:
18
Ahhh, John, you be so smart! I will work on that angle. I want the VFP front to work efficiently, because the prototype being created is to convince management that it is a better way to go than that kludgy Developer2000. And my Oracle experience is rather sparse.


>Hey Doug,
>
>I don't think you want all that roundtripping going on: your best bet may be to create a stored proc in Oracle and have that proc return a result set based on the criteria. Trying to manage a complicated query like that from the front-end will be murderous.
>
>
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform