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
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Linked server Query Timedout

Author  Topic 

PavanKK
Starting Member

32 Posts

Posted - 2010-09-13 : 02:56:26
Hi Forum,

We have setup a linked server pointing to our Production server.

We have created a view ( select * from linkedserver.database.dbo.table where customerid = 2 ) which will retrieve 25 lacs records from linked server ( 4 part naming convention ). At the time of execution the view is getting timedout error because of the bulk records. Is there any way that I can get all the records from linked server without timeout issue.

Thanks in advance

KK

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-09-13 : 05:36:55
Have a look at the properties of your linked server. You can set the timeout for queries in seconds.
http://msdn.microsoft.com/en-us/library/ms186839.aspx


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -