Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select SQL with TOP nExpr or PERCENT
Message
De
27/09/1999 21:18:16
 
 
À
27/09/1999 20:25:09
Pierre Richard
Méthotech Canada Limitée
Kirkland, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00269722
Message ID:
00269740
Vues:
15
Pierre,

It will have to check the whole table in order to make an accurate determination. But 100k rows should be nice and fast if Rushmore is effectively employed.

Cheers,

Jim N

>Hi again !
>
>In a Select SQL statement, specifying TOP nExpr or PERCENT and having ORDER BY DESCending ... will the statement parse the whole table, then order by DESC then give out nExpr
>
>or
>
>will the statement parse the table UNTIL it has nExpr rows regardless it has not reached EOF and then order by DESC
>
>My table will be 100K rows and I would like to dish out only nExpr (i.e: 200) of the latest entries.
>
>TIA
>
>Pierre Richard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform