Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow from VFP passthru fast from analyzer (posted in SQL)
Message
De
29/03/2007 16:28:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Slow from VFP passthru fast from analyzer (posted in SQL)
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01210060
Message ID:
01210060
Vues:
65
I have an application written in VFP which executes a query against a SQL 2000 table with approx. 3,500,000 records. this table has an index on a computed field called Squeezedesc (replace(description,' ','') ).

When I run this query in SQL Query Analyser it is done in negligible time whereas when executed from the app it takes 38 seconds???? Here is my query:
Select inv.uid as idinv,inv.isbn13 as sku1 From inv Where SqueezeDesc like 'thehook%'
Is this an expected behavior?

Glenn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform