Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select is slow in large tables
Message
From
19/06/1998 11:24:56
 
 
To
19/06/1998 11:21:23
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00109911
Message ID:
00109917
Views:
33
>Bernard,
>
>Have you tried creating an index tag on the inv_date field? Make sure the index expression is the same as the expression in your WHERE clause e.g. INDEX ON YEAR(inv_date). Otherwise your query will not be optimized.
>
>George
I know about index's george but sometimes the queries can be adhoc. What I described was just an example to show that the query is simple and no join is involved. It is not possible to create an index for every query that I may need!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform