Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xbase commands Vrs Sql commands
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Divers
Thread ID:
01011885
Message ID:
01012430
Vues:
14
Hi, Nadya.

>I think, that indexseek/seek/KeyMatch is usually faster than Select-SQL.

I guess this is perception issue because when you do seek/scan you are using indexes implicitly, what means optimizing by hand. Nevertheless, in most situations, properly optimized SQL sentences tend to be faster because everything is resolved in one single shot, instead of requiring several lines of code (which means control flow=more stack usage, memory allocation=more heap usage, etc). Of course, the SQL engine is doing some of this behind the scenes, but is is in general much faster, as it should be mostly native code what's running, instead of VFP code.

See you,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform