Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speeding up a query
Message
 
À
04/10/2001 13:59:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00564341
Message ID:
00564408
Vues:
21
Hello Jerry

The only thing I can think of might not make anything faster
index on recno() tag recno

I don't know if you know but a SQL statement looks for a cdx (index tag) that will optimize the search

hope this is a plus


>Is there a way to improve the speed of this query?
>
>SELECT *
>FROM tablename ;
>WHERE RECNO() >= lnrecno ;
>INTO CURSOR mycursor
>
>I am trying to select the last X number of records from a table, but as the table grows, this SELECT statement slows down. Is there a way of improving the speed or another way to select just the last X number of records from a table?
>
>Thanks
>
>Jerryt
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform