Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow from VFP passthru fast from analyzer (posted in SQL
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01210060
Message ID:
01210088
Views:
19
How many records are being returned?

If there are lots of records in the result set then it could simply be a network throughput issue assuming you are running query analyzer on the server (no network issue there)..

>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
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform