Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index and SQL statement pattern related to speed
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Index and SQL statement pattern related to speed
Miscellaneous
Thread ID:
00663070
Message ID:
00663070
Views:
45
I have a general question that appears to have the answer of "keep the SELECT WHERE statement in the same pattern as your index." Any comments on the validity of this statement. Please comment.

Example:
If my index on a table is A + B
(two chacter based fields to keep things simple) and I then have

SELECT statement with WHERE B = vp_B AND A = vp_A

will this run at the same speed as the same as

SELECT statement but with WHERE A = vp_A AND B = vp_B

Thanks
Jon
Next
Reply
Map
View

Click here to load this message in the networking platform