Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed difference
Message
De
05/03/2004 04:47:30
 
 
À
04/03/2004 16:39:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00883280
Message ID:
00883405
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform