Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of Select SQL to Populate Grids etc
Message
 
À
20/01/1999 03:42:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00177905
Message ID:
00177909
Vues:
29
>As an old xbase (Clipper) programmer recently converted to VFP5 I am still using the SEEK command and indexes to find records belonging to a particular client (for example) to display in a grid on screen. I know now that by creating a query via Select SQL I can also do this as well.
>
>Question - is this the way to do it - by Select SQL I mean . Is it quicker on larger databases/reduce network traffic.
>
>Any general comments would be appreciated!

Bob,

It will be quicker providing you have indexes built on your main selection criteria. If, say, you have a client code and there is an index on the client code field, it will run MUCH faster. It uses some amazing background optimisation. This does not ALWAYS hold true about the indexes, but as a general rule, it would be faster.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform