Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to connect to a SQL Server 2005 database using the connection parameters listed below. After connecting to the SQL Server 2005 database I execute my sql statement. But I always timeout after approximately 60 seconds. I executed the sql statement within the query analyzer which takes approximately 90 seconds to complete. Is there something I can add to my connection parameters listed below so it will not timeout? Thanks, Set oConn = New Connection With oConn .ConnectionString = "Provider = SQLOLEDB;" & _ "Data Source = " & SOURCE_NAME & ";" & _ "Initial Catalog = " & DB_NAME & ";" & _ "Integrated Security = SSPI" .ConnectionTimeout = 2000 .Open End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to Change Hours:Minutes:Seconds to Seconds only | Excel Discussion (Misc queries) | |||
Converting Julian Seconds with a macro to replace old seconds data | Excel Discussion (Misc queries) | |||
MSQuery settings? ConnectionString? | Excel Programming | |||
TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked | Excel Worksheet Functions | |||
Convert "Time Interval" in "hours : minutes : seconds" to seconds | New Users to Excel |