Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple VFP query, no optimization
Message
From
10/11/2000 18:54:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00440476
Message ID:
00440610
Views:
10
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform