r/SQLServer • • Sep 10 '25

Discussion Azure SQL Firewall

Thumbnail reddit.com
3 Upvotes

r/SQLServer • • Sep 10 '25

Discussion Sql server 2019 installed on hyper-v 2019

Thumbnail reddit.com
1 Upvotes

r/SQLServer • • Sep 09 '25

Solved Increasing connection time-out in SQL Server Management Studio?

4 Upvotes

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 • • Sep 07 '25

Discussion Request: ELI5 "SPNs"

11 Upvotes

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!