Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xbase commands Vrs Sql commands
Message
 
 
À
07/05/2005 03:39:07
Suhas Hegde
Dental Surgeon
Sirsi, Inde
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:
01011941
Vues:
17
>
>I always find Xbase commands faster than Sql(statement) commands.

It may be if you don't learn how to use queries properly. In order for quieries to be fast they have to be at least Rushmore optimizable.


>Any case where Sql statments are faster ?
>Also i would like to know best prsctices where to use what ??

The queries require much less code and eathier to maintain. They're alwys my first choice. If I cannot get speed that is satisfactory I try to optimaze the query by analyzing SYS(3054) report. Sometimes splitting a complex query into a few separate selects may signifanly speed it up also.

The bottom line, it's very rear that procdural code "wins" over a query in my expirience.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform