Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 time out with a query

Author  Topic 

sandhyakalsotra
Starting Member

22 Posts

Posted - 2010-09-05 : 16:05:01
Hi,

I am running a query on server 2005 that runs on a table containing large data. After some time,it shows"time out" and the query fails to execute. How to increase time out on this query.

sandhya

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-09-05 : 23:56:33
I wouldn't recommend changing the timeout value just to avoid an error, unless the query is fully optimized already and is still long running. Instead, I'd do check out your other topic here and check if you are missing indexes. I'd also start updating stats more frequently. Once a year is pointless and disastrous.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -