Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Analyzer fast application slow
Message
De
29/03/2007 17:41:22
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01210025
Message ID:
01210098
Vues:
14
Sergey, I really do not know! I am bewildered as to why the query when cut and pasted from the query analyzer into VFP would run so slow.

Glenn

>>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?
>>
>
>Why would it be expected behavior?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform