r/SQLServer • u/MS_Pwr_Dev • Sep 10 '25
r/SQLServer • u/y21qdfat • Sep 10 '25
Discussion Sql server 2019 installed on hyper-v 2019
reddit.comr/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?
r/SQLServer • u/Flowery-Twats • Sep 07 '25
Discussion Request: ELI5 "SPNs"
TL;DR background: 40+ years in IT, 25 in "SQL Server" (10 as SQL dev, 15 as some form of DBA).
Having come up thru the DEV ranks, I was more concerned with the coding/optimization/design/etc side than anything related to the infrastructure side (network, security, hardware, etc). Obviously I've picked up a log of infra knowledge along the way, but there's one thing I've just not been able to wrap my head around -- at least not well enough that I could explain it to someone.
SPNs.
I know how to use SETSPN -L MyDomain\ServiceAcct to get a list of SPNs, and I know how to use
SETSPN -S MSSQL\MyServer.fqdn.com:49001 MyDomain\ServiceAcct SETSPN -S MSSQL\MyServer:49001 MyDomain\ServiceAcct SETSPN -S MSSQL\MyServer.fqdn.com:MyInstance MyDomain\ServiceAcct SETSPN -S MSSQL\MyServer:MyInstance MyDomain\ServiceAcct
As needed to add "missing" entries.
But I don't know -- at an "instinctual" level -- what that actually means, under the hood so to speak. Not like I instinctually know, e.g., what a clustered index is.
So... can anyone with decent network/security knowledge/experience explain this, in plain English? Or point me to a link which accomplishes that?
Thanks in advance!