Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which is optimizable
Message
De
26/08/1997 18:24:37
 
 
À
25/08/1997 08:29:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00046652
Message ID:
00047047
Vues:
23
there is no problem with using NOT in the WHERE clause , you can't use NOT in indexes (and have the rushmore optimizable) IAC, you can use SYS(3054) to check if your SELECT statements are optimized and to what extent Arnon >In this VPF 5.0 app, the client does not delete records (legal reasons). >In each table is a logincal filed called SUPPRESS. If it is TRUE, the >record is suppressed (should not be included in SQL). I use SQL's to >populate grids in forms, so I need FAST operation. There is in index on >Suppress In the SQL, if I add " WHERE !SUPPRESS", will it be Rushmore >optimized? I once heard that .not. clauses are not optimizable. Or should >I change the meaning of the SUPPRESS field, so that a TRUE in SUPPRESS >means include, so the WHERE clause can be "WHERER SUPPRESS". Is this >optimizable? > >
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform