r/SQLServer • u/RobertWF_47 • Sep 09 '25
Solved Increasing connection time-out in SQL Server Management Studio?
I'm running a long SQL program in SSMS that is taking > 24 hours to run, and am finding my session times out if left running more than a few hours & I lose my work. (A separate issue: the IT in my company only lets us create temporary tables, not permanent, on the SQL server.)
Clicking on File -> Connect Object Explorer... -> Options>>, I see the default connection time-out setting is only 30 seconds, which seems pretty low.
Can we increase connection time-out setting from 30 seconds to an arbitrarily large value to prevent time-outs?
View all comments
Show parent comment
4
u/alinroc 4 Sep 09 '25
If "IT" is blocking you from doing your job, you (your management) need to have a conversation with them about that and find out what can be done to either remove those barriers or get things tuned so they're no longer an issue.