Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running query is too long
Message
From
28/02/2001 13:33:59
 
 
To
28/02/2001 12:10:38
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00480588
Message ID:
00480628
Views:
10
>Hy !
>
>I'have this little problem
>
>In my VB application (ADO), when i'm running a query through ODBC,
>it's 10 times slower than in the Query analyser of SQlServer.
>
>Is there a way or a method to execute it faster ???
>Like a passthrough query ?? that is not interpreted by ODBC
>
>Thanks
>
>L-A

You can probably speed things up by selecting a lighweight cursor type like the forward only, read only depending on your needs. Given the same conditions, there should not be a lot of difference between the two, query analyzer uses ODBC also to communicate with SQL Server.

Alternatively you can test different settings of the Cachesize property of the recordset object, and select the one that gives you the best results.
Previous
Reply
Map
View

Click here to load this message in the networking platform