Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExpress 2008 performance
Message
From
07/08/2009 15:31:53
 
 
To
07/08/2009 12:00:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01416770
Message ID:
01416830
Views:
75
Management Studio doesn't go through ODBC and VFP translation layers.

>I have install SQLExpress2008 on a WS2003 with 2 Gb RAM (development machine)
>
>When I run a query against a table with 100.000 records from the Microsoft SQl Server Managent studio:
> [ Select top 1000 from sometable ]
>It returns the results in less than a second.
>
>But when I run the same query from VFP
> [ sqlexec(nHandle, "Select top 1000 from sometable ", "cur") ]
>It takes for ever, more than 15 seconds.
>What is the problem ?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform