Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running query is too long
Message
De
28/02/2001 13:33:59
 
 
À
28/02/2001 12:10:38
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00480588
Message ID:
00480628
Vues:
11
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform