Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed difference
Message
De
04/03/2004 17:13:57
 
 
À
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:
00883291
Vues:
7
The first one will be faster because if it find that Field1 not = "1" then it wont evaluate the second part of the condition. Alos in the second choice, it will evaluate if Field1 = "1" twice.

Keep in mind that would make a significant difference only if the table is very big and if it happens often that Field1 not = "1"
Diane Robitaille eng.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform