Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there
I am using the ADO 2.7 Library to connect from an Excel workbook to a SQL Server 2000 database over our local network. All works perfectly except, when viewing the trace in SQL Profiler, I notice that, between each request to the database, a connection object is destroyed and recreated, adding significant overhead to our network requests. At first I though it was because we were releasing the connection objects after each roundtrip to the database, but still, when we use a single connection (opened at the outset of the procedure and closed at the very end of the procedure), the "Audit Login" and "Audit Logout" lines in SQL Profiler (with between 2000 and 6000 ms duration) continue. Do you have any suggestions about improving the speed of execution? Best regards Taolo Morake |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ADO Connection to SQL Server | Excel Programming | |||
SQL Server Connection Pooling | Excel Programming | |||
ADO connection problem when using server | Excel Programming | |||
ado connection to access vs. sql server? | Excel Programming | |||
sql server connection | Excel Programming |