r/SQLServer • • 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?

4 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/RobertWF_47 Sep 09 '25

Indeed, I am. But they move at a glacial pace.

1

u/thepotplants Sep 10 '25

Talk to your boss. Ask them about the consequences of not delivering.

Sometimes things have to break, before they get fixed.

As long as you continue to find workarounds and temporary solutions you're showing you can make do.

If you cant produce the analysis because the tools you've been given are inadequate and unworkable higher management might apply pressure on IT to either assist or provide you with more privileges.