Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed difference
Message
From
05/03/2004 04:47:30
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
04/03/2004 16:39:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00883280
Message ID:
00883405
Views:
7
Hi ,
Select * from Table Where Field1="1" And (Field2="2" or Field2="3")
should be faster. But don't forget
Select * from Table Where Field1="1" And Between(Field2, "2", "3")
my gut tip here since it is optimizable and should give vfp
a range to check against.
Select * from Table Where Field1="1" And Inlist(Field2, "2", "3")
which is also optimizable.

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform