Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extreme slow query performance on SQL server.
Message
From
07/12/2000 07:25:19
 
 
To
06/12/2000 09:17:04
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00449882
Message ID:
00450297
Views:
27
You can reduce this only by improving your network. This delay caused by data transfer from SQL Server to ODBC, and than from ODBC to VFP. Some ODBC settings might help too, however, I don't know exactly what to configure (my application worked ok with default settings). If you have large result set - this is also a cause of delay.

>I run a query against a sql server database using SQLEXEC with the following syntax;
>
>SELECT note_nr FROM notes WHERE note LIKE '%TEST%'
>
>It takes big part of a minute before vfp comes back with a cursor containing twenty or so records. If I run the same query using the SQL Server query tool the response is almost immediate.
>
>Is there anyone out there knowing how to resolve this problem?
>You'd make my day !
>
>Wilco.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform