Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple VFP query, no optimization
Message
De
10/11/2000 18:54:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00440476
Message ID:
00440610
Vues:
22
>>>Sorry if this has already been covered, but can you just keep the CustID and PoNum indexes, and do:
>>>
>>>SELECT * FROM PastInvoices WHERE CustID = ?lcCustID AND PoNum = ?lcPoNum
>>
>>That is basically what I am doing, except for the '?' in front of the variables. What does the '?' do?
>
>Oh, sorry, I use those in parameterized views. Anyway, when you way that is the way you are doing it, doesn't that mean you can get rid of the CustID+PoNum index?

Yes, I will get rid of any SEEKs and use a SELECT instead.

Thanks and have a good weekend,
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform