Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SQL and Not SEEK
Message
 
 
À
09/01/2001 09:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00461121
Message ID:
00461149
Vues:
15
>I just purchased Web connection and in working with the documentation, Rick uses a select statement for building a Cursor. Even when building a one record cursor.
>
>My question is why. What benefits will I get from a select statment that I couldn't get from seek, scatter, gather.
>
>Any and All opinions are welcome, even if your NOT an MVP <s>
>
>Thanks
>
>Alan

Hi Alan,

Let me ask you why would you want to write a program if you can achive the same result with one command - select statement?
IMO a select statement is much more readable/maitainable than procedural code and in most cases even more efficient.
Secondly, you can use select stament with any backend (VFP, MS SQL Server, Oracle, e.t.c.). I cannot say the same about procedural code.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform