June 10, 2015 at 7:59 am
Hi all,
I've searched for this but did'nt found an appropriate answer.
What is a remote connection and query ? And what is a local connection and query ?
If i'm on management studio on my pc connected to a SQL Server 2012 that is on a server, am I remote ?
I didn't had a timeout in SSMS for the following query. Considering the remote query timeout setting is 600
USE Database_name
go
BEGIN
WAITFOR DELAY '00:11';
select * from [dbo].[Table_Name]
END;
GO
Thanks
June 10, 2015 at 8:43 am
I hope that following link should help you to understand what is "remote connection"
https://msdn.microsoft.com/en-US/library/ms191464.aspx
As for SSMS, go to Tools/Options select "Query Execution" in the left panel.
You will see that "Execution time-out" is set to 0, which is default and means - no timeout limit.
You can change it if you like.
June 10, 2015 at 8:48 am
Remote query timeout affects queries which this SQL Server instance (the one with the setting) executes against other database engines, via ether OPENQUERY or 4-part naming.
It has no effect on queries which are running locally (queries submitted to it which it is running against its own databases)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 10, 2015 at 9:22 am
Thanks all!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy