Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Top nnn work in SQL Select?
Message
De
24/05/1999 15:25:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How does Top nnn work in SQL Select?
Divers
Thread ID:
00222192
Message ID:
00222192
Vues:
57
Hi All!

I have a peculiar question regarding TOP clause in SQL Select.
How does VFP perform this task: (let's say I want the top 99 records)
1. VFP fetches all appropiate records, orders them and deletes unwanted ones on the end above 99, or
2. VFP uses the index of ordered field in base table, and fetches only the records that fall under 99 according to the index.

TIA

BB
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform