Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance issues when querying shared data
Message
De
07/10/2005 11:03:12
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
07/10/2005 10:36:49
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01057091
Message ID:
01057192
Vues:
19
>>Well,
>>
>>The initial query is:
>>
>>Select a.field1 As Code, a.Field2 As Desc From TableA a Into Cursor tmpCursor
>>
>>The table has an index on field1 so I added:
>>
>>where a.Field1 = ""
>>
>>It's a cheat I know but the query is optimised and works as long as set exact off.
>>
>>The time jumps from 5 secs to under 2.
>>
>
>Hi Mathias,
>
>That is too cool! I just tested it on my setup and got similar results.
>
>Thanks,

I'm not getting what is happening here. What is the 'where a.Field1 = ""' helping do? What is the test and the comparison?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform