Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL, Rushmore a Deleted() Tags
Message
De
04/10/1997 17:20:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00053270
Message ID:
00053271
Vues:
27
>I have a table with about 200,000 records (Invoice line items) and I have an index tag on the Invoice number and Deleted(). Sys(3054,1) indicates full optimization. What I observe is when you include a 'group by' Invoice (multiple items per invoice) clause, having an index tag on Deleted() has no effect on performance. The query was very simple:
>
>select invoice from lineitms group by invoice
>
>Anyone else observer this as well. Any other optimization tips? All I wanted was a unique list of invoice numbers in this table.

As soon as we add a GROUP BY clause in the SQL, we can't be fully optimizable anymore. This is not related to DELETED() tag or not.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform