Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I optimize the intermediate result
Message
From
08/06/2001 18:43:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How do I optimize the intermediate result
Miscellaneous
Thread ID:
00517267
Message ID:
00517267
Views:
55
Here is sample code to illustrate the point.

Select * ;
From Invoice ;
Where ;
InvoiceId = 3 And ;
Between( InvoiceDate, {12/01/01}, {12/31/01} ) ;
Into Cursor qroInvoices

Use Dbf("qroInvoices") Again In 0 Alias qInvoices
Select qInvoices
Index On InvoiceId Tag InvoiceId

Select
qInvoices.*, InvoiceDetail.Amount From qInvoices Inner Join On


Sys(3054,11)
Next
Reply
Map
View

Click here to load this message in the networking platform