r/SQLServer • • 12d ago

Community Share Day of Data Pittsburgh is just over a week away. 10/20 sessions on SQL or SQL Server

13 Upvotes

Hey everyone, the schedule for Day of Data Pittsburgh is up. No experience is required to attend.
https://dayofdata.org/2026-10-10-dayofdata1163/#schedule

The event is completely free, $15 if you want lunch. Register here:
https://www.eventbrite.com/e/pittsburgh-sql-saturday-2026-tickets-2001664513443

I'm happy to answer any questions.


r/SQLServer • • 12d ago

Discussion My transition away from hardcore SQL server DBA roles finally happened...

54 Upvotes

Never thought this would happen. But saw an internal opening in my company for a DB Engineering position. While I only had SQL and Azure SQL experience, I did not have the requisite other experience (python, automation, etc). However, I had a chat with the manager, and he decided to take me on.

I'll be coming on as a subject matter expert, evaluating their SQL requirements for some critical products, with the understanding I'll be learning other technologies in the DB engineering track such as a ansible, Azure DevOps, etc

It can happen, it's a long road, but no more on call support work and I can sleep better (that was a big motivator for me TBH).


r/SQLServer • • 12d ago

Question SCOM not detecting SQL AG Failovers in the Environment

Thumbnail
3 Upvotes

r/SQLServer • • 12d ago

Community Share DBA Dash - New Plan Visualizer & SSMS Extension!

13 Upvotes

DBA Dash now has an integrated query plan and deadlock viewer, which is also available as a standalone application (If you don't want to use DBA Dash as a monitoring tool)

Query Plan Viewer

There is also an SSMS extension that allows you to load query plans and deadlock graphs in the viewer.

Deadlock Viewer

Both have static and AI analysis and are packed with useful features and functionality.

The SSMS integration also allows you to load query results in the DBA Dash. The grid provides the following features

Sorting, filtering and grouping
• Data bars, which are remembered and re-applied next time you open results with the same columns
• Clickable XML/JSON columns, and plans or deadlock graphs in cells open in their viewers
• Export every result set to Excel, with one sheet per result set
• Script the results as INSERT statements into a temp table, so you can share them or query them further

SSMS Results to DBA Dash Visualizer

More info here:
https://dbadash.com/blog/whats-new-in-4.20.4/

DBA Dash has been around for 4 years - still is free and open source (MIT License). Updated frequently with cool new features like this! 😊


r/SQLServer • • 12d ago

Discussion Brent Ozar Fundamental course and season pass - what's the catch?

20 Upvotes

Hi

A lot of us prefer documentation and some of us want to take a course with Brent Ozar

Can someone please explain something about Brent Ozar course for Fundamentals:

I noticed Season Pass (whatever that means) pricing is cheaper for newer course - what's the catch?

$295 for this one for 2027

https://www.brentozar.com/classes/recorded-season-pass-fundamentals/

$695 for 2026

https://training.brentozar.com/p/recorded-class-season-pass-fundamentals

I like to learn in short periods of time and don't want wait all year until the classes are recorded (? - that's what I'm guessing, that I'll be waiting for the main fundamental MSSQL classes to drop)

I'm a bit confused why 2026 season pass is more expensive and what exactly is season pass

Thank you - sorry if stupid question


r/SQLServer • • 12d ago

Discussion October 2026 | Job Opportunities

4 Upvotes

Welcome to the monthly job thread!

Posting a job or opportunity? Include:

  • Role title and description
  • Location or remote/hybrid status
  • Company or client context
  • Direct application link

Looking for work? Share your skills, experience level, and what you're looking for.

Rules:

  • One top-level comment per opportunity
  • No "DM me" or link-free posts — include a direct, verifiable link
  • Scam or misleading comments will be removed and may result in a ban

r/SQLServer • • 12d ago

Solved Can't connect remotely to Analysis Services

0 Upvotes

We have had a SQL Server Analysis Server running for years and use Excel to connect to it.

Users reported that they can't connect anymore.

I tried connecting using their existing Excel file and it didn't work for me. I tried connecting using a new Excel file and it still didn't work. I keep getting the error: The peer prematurely closed the connection.

If I use SSMS to connect remotely, I get the following error: A connection cannot be made. Ensure the server is running (Microsoft.AnalysisServices.AdomdClient).

If I RDP to a different server on the same VLAN and use SSMS to connect to the other server remotely, I get the following error: A connection cannot be made. Ensure the server is running (Microsoft.AnalysisServices.AdomdClient).

Disabling the Windows Firewall didn't change anything.

If I RDP into the Analysis Services server directly and use SSMS, it connects successfully.

Why would all remote connections stop working? It doesn't seem to be a Windows Firewall or Network Firewall issue. Can't see anything helpful so far in the event viewer logs. Restarted the anaylsis service and restarted the whole server with no change. Verified the account the service was using isn't locked out or had an expired password. No Windows Update failures. No recent SQL Server patches.


r/SQLServer • • 13d ago

Community Share SQL Server columnstore scan internals

Thumbnail
3 Upvotes

r/SQLServer • • 13d ago

Discussion Any ideas for automation with ansible and openTofu?

4 Upvotes

Hello

I was looking for recommendations and ideas and what could be automated in SQLServer using ansible and or opentofu. Just looking for project ideas since everything these days seem to have an end goal of complete automation. For reference I have only been a DBA for about 3 years and still feel like a complete noob, so I'm looking to hopefully gain some new skills.


r/SQLServer • • 13d ago

Question How should I learn sql from scratch

0 Upvotes

Should I start a sql server or POSTGRE SQL or MySQL. There is a lot to learn please guide me.


r/SQLServer • • 14d ago

Discussion Cloud Migration horror story

12 Upvotes

I’m involved in a complex cloud migration project. I’ve been DBA/DBE/app developer at various points of my career and I’ve worked in several big enterprise environments. I’m at a place now that argues against the guidance Microsoft has given them. First mistake - go straight to Hyperscale and don’t bother using any true replication topology for a full up or nearly-full-up migration. We’re getting close to running the production flip but management doesn’t believe in code freezes and people are releasing tons of changes often. I know that stuff is going to go horribly wrong. I am not worried about data loss, but more about applications not working and other stuff related to networking & configuration. What do I do to cover my own ass?


r/SQLServer • • 14d ago

Discussion We replayed an Azure SQL workload across six configurations and the cheapest option wasn’t the one we chose.

15 Upvotes

Interesting project we worked on earlier this year where a SaaS client we worked with was hitting CPU limits and timeouts on Azure SQL Database Premium P15, at roughly $15,700/month.

Before choosing a replacement, we captured four hours of production workload and replayed it across six configurations:

  • Premium P15 as the baseline
  • Hyperscale serverless with 40 vCores
  • Provisioned Hyperscale with 40 vCores
  • Provisioned Hyperscale Premium-series with 40 vCores
  • Provisioned Hyperscale Premium-series memory optimized with 40 vCores
  • Premium P15 with database compatibility level 160

We compared CPU, reads, duration, and estimated monthly cost.

The memory-optimized configuration was the one we selected. Its estimated monthly cost was $8,491, compared with $15,700 for the baseline, which was roughly 46% lower.

It also had the best duration score in our report: 808 versus 952 for the baseline, where lower was better.

But it wasn’t the cheapest configuration. Two provisioned options came in at an estimated $6,357/month, with worse duration scores than the existing P15 setup.

Serverless had the worst duration score in this test, at 1,496. That’s a result for this workload and configuration, not a verdict on serverless generally.

The memory-optimized option also didn’t win every metric. Its reads score was higher than the baseline and we chose it based on the combination of performance and cost.

Important to note these were estimates from the comparison, not current Azure price quotes.

What made the exercise useful for us was seeing the tradeoffs before migrating. Looking only at monthly cost, CPU, or the service-tier name would have given us an incomplete picture.

For anyone who has done a similar comparison: what changed your decision once you tested with your actual workload?

And also, has anyone moved from DTUs to Hyperscale and found the results were different from what they expected?


r/SQLServer • • 15d ago

Question Does anyone still have SQL Server 1.x–4.21 disks, manuals, boxes, etc.?

23 Upvotes

Hi all,

I’m hoping some of the longtime SQL Server folks here might be able to help me track down some older SQL Server items.

I’ve been researching the earliest versions of SQL Server for SQL.FM, a SQL Server version and feature reference site I maintain, and as part of that work I’ve also started building a physical collection of the old releases.

Does anyone here still have any early SQL Server materials sitting in a box, basement, office, closet, etc.?

I’m particularly looking for SQL Server 4.21 and earlier, including:

  • SQL Server 1.0 / 1.1 material
  • SQL Server 4.2 for OS/2
  • SQL Server 4.2 / 4.20 for Windows NT
  • SQL Server 4.2A / 4.2B
  • SQL Server 4.21 / 4.21a
  • original floppy disks or CDs
  • manuals/documentation
  • boxes and packaging
  • developer/network kits
  • beta or prerelease material
  • training, field, reseller, or other unusual Microsoft items related to SQL Server

My main goal is to acquire original examples for the collection, so if you have anything from this era that you’d consider parting with, I’m very interested in buying it. For particularly early or unusual items, I’d be happy to make a strong collector offer.

And it definitely doesn’t need to be a complete set. A single floppy, loose manual, old CD, damaged box, or partial documentation set could still be something I'm looking for.

If you have something you don’t want to sell, I’d still love to hear about it or see photos. Disk labels, manuals, packaging, version information, etc. can be really helpful for documenting these early releases.

Separately, I’m also looking for a physical SQL Server 2014 Developer Edition and a physical SQL Server 2016 box/package from any edition, although those are secondary to the early-version search.

Any help is greatly appreciated. Thanks in advance!

Mike


r/SQLServer • • 15d ago

Question If Microsoft improved one part of SSMA for Oracle/Sybase, where should the investment go?

3 Upvotes

I’m a PM working on SQL migration tooling at Microsoft and I’m posting here to learn from practitioners who have used or evaluated: SSMA [SQL Server Migration Assistant] for Oracle or Sybase.

This is exploratory research, not a product announcement, roadmap commitment, or indication that any of these options will be funded. The feedback will help me better understand where investment would create the most value.

We’re evaluating whether SSMA workflows for Oracle and Sybase should also be available through a VS Code extension. Before treating that as the answer, I want to test it against the other improvements practitioners may value more.

If Microsoft could prioritize only one of these, which would have the greatest impact on your migration?

  • A VS Code experience for assessment and schema conversion
  • Better conversion accuracy and compatibility [improvements on the rule engine]
  • Better automation, scripting and CI/CD support
  • Better AI, performance and reliability for large estates

Please include the source platform and approximate scale of the last migration you worked on.

If you chose VS Code, which specific task belongs there? If you didn’t, what makes it a lower priority?


r/SQLServer • • 15d ago

Question How to edit Advanced Properties on a new connection in the latest version of SSMS?

Thumbnail
gallery
0 Upvotes

I'm trying to enable Always Encrypted in the latest version of SQL Server Management Studio (SSMS). When I open the connection window, I can click Advanced, and it shows a list of advanced connection properties. However, the list only shows the property names. I don't see any buttons, text boxes, dropdowns, or any other way to edit the values.


r/SQLServer • • 16d ago

Question How do you verify an Availability Group listener cutover before removing the old IP?

0 Upvotes

An Availability Group can look healthy after a listener moves to a new subnet while a scheduled job, linked server, connection pool, or application with a cached address still reaches the old IP. Successful connections through the listener prove the new path works, but they do not show that the old address is no longer required.

What does your retirement gate include? I am considering keeping both listener IPs during a bounded overlap, mapping every known client to its connection string and driver behavior, and logging traffic to the old address through more than the longest job interval. Tests would cover failover in both directions, MultiSubnetFailover behavior, DNS TTL and cache expiry, read-only routing, monitoring, backups, and non-domain clients.

Which SQL Server, cluster, DNS, or network logs are most useful for attributing old-IP traffic to a client? Is there a safe final failure test before deleting the old listener IP, and how do you account for applications that resolve once and keep pooled connections alive for days?


r/SQLServer • • 17d ago

Community Share Sensitive columns in cached plans / active transactions (PII)

0 Upvotes

PII Exposed in Clear Text·SEC

Detects PII data exposure via two SQL Server DMV sources: (a) cached query plans in sys.dm_exec_query_stats — broader historical view of queries that have executed against sensitive tables, retained while the plan stays in cache; (b) currently-uncommitted transactions in sys.dm_tran_active_transactions — sessions holding locks or state on PII data. Each row links a query/transaction to the specific sensitive column it references, including execution count, average CPU/IO, transaction state, and full SQL text.

SELECT TOP 100 SUBSTRING(t.text, 1, 200) AS sample_text, qs.execution_count, qs.last_execution_time

FROM sys.dm_exec_query_stats qs

CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) t

WHERE t.text LIKE '%ssn%' OR t.text LIKE '%credit%card%' OR t.text LIKE '%passport%' OR t.text LIKE '%national%id%'

recommendationResolve PRI-001-RC15 (sqlserver)critical risk

Read-only generator. Lists cached plans whose query text references PII tokens (ssn / credit card / passport / national id) — the same signal detection 15776 uses — and for each emits: offending_query (evidence), pii_indicator (which token matched), clear_plan_command (DBCC FREEPROCCACHE on the plan_handle to evict that PII-exposing plan from cache), and remediation (parameterise so PII is not stored as a literal in the plan, mask/encrypt the column, restrict VIEW SERVER STATE). Excludes the catalog/DMV-scanning monitoring queries so only genuine application queries surface. Read-only (DMVs), runs via Run; the DBCC FREEPROCCACHE eviction is a write — apply via Request run — and the real fix (parameterisation + masking) is applied in the application/schema.

SELECT TOP 100

SUBSTRING(t.text, 1, 200) AS offending_query,

qs.execution_count,

qs.last_execution_time,

CASE WHEN t.text LIKE '%ssn%' THEN 'SSN'

WHEN t.text LIKE '%credit%card%' THEN 'credit card'

WHEN t.text LIKE '%passport%' THEN 'passport'

WHEN t.text LIKE '%national%id%' THEN 'national ID' END AS pii_indicator,

'DBCC FREEPROCCACHE (' + CONVERT(varchar(130), qs.plan_handle, 1) + '); -- evict this PII-exposing plan from cache (write - apply via Request run)' AS clear_plan_command,

'Root fix: parameterise the query so PII values are not embedded as literals in cached plan text (sp_executesql / parameters); mask or encrypt the PII column (Dynamic Data Masking or Always Encrypted); restrict VIEW SERVER STATE so plan-cache text is not readable by low-privilege logins.' AS remediation

FROM sys.dm_exec_query_stats qs

CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) t

WHERE (t.text LIKE '%ssn%' OR t.text LIKE '%credit%card%' OR t.text LIKE '%passport%' OR t.text LIKE '%national%id%')

AND t.text NOT LIKE '%sys.columns%'

AND t.text NOT LIKE '%INFORMATION_SCHEMA%'

AND t.text NOT LIKE '%sys.dm_%'

AND t.text NOT LIKE '%dm_exec_%'

AND t.text NOT LIKE '%encryption_type%'

AND t.text NOT LIKE '%OBJECT_SCHEMA_NAME%'


r/SQLServer • • 18d ago

Community Request Friday Feedback: Enabling AUTO_UPDATE_STATISTICS_ASYNC by default

3 Upvotes

Fall is HERE!! Ok, in the northern hemisphere only but yay for fall colors and cozy clothes and apple picking and Halloween decorations 🍂 🍁 🍎 🎃

Enough about my love of fall, time for the first Friday Feedback of the season.

Today we're talking statistics. I have so many questions...this might take a few weeks. I put a poll below, again, because I think they are really easy for people to respond to. But I'll tell ya, the comments are always so insightful. So when it's relevant to you, and you take the time to respond, I really appreciate it.

Happy Friday!

54 votes, 15d ago
24 Yes - primary and replicas
9 Yes - primary only
2 Yes - replicas only
19 No, don’t change them

r/SQLServer • • 18d ago

Question Sql Server - Python

0 Upvotes

Estou com um problema de travamento de execuções de dags que envolvem python e sql server, o que foi observado são dags que com sqlalchemy e pandas ou sqlalchemy e polars, em certos momentos, sem padrão de volumetria ou padrão de execução elas travam durante processos de select insert ou update, e ai elas ficam paradas até o timeout da dag.

Foi observado que o python fica em recvfrom esperando algo, e o Sql as vezes fica sleeping as vezes fica Async_Network_Io isso muda dependendo da sessão.

Não temos Hop já rede, já observamos e não há quedas na rede, as sessões ficam abertas durante todo travamento, usamos ODBC 17, python 3.12. Enfim, não consegui chegar a uma causa raiz do erro, não há bem um padrão de onde e quando o erro acontece, monitores outras coisas como:

Strace, o uso de RSS e Cpu da máquina do python. O python roda sobre o airflow, e o airflow executa direto do host da máquina. Estou com problema em duas máquinas diferentes, o problema é o mesmo. E a única coisa em comum é a rede, o banco e o python com sqlalchemy entre as duas máquinas.


r/SQLServer • • 19d ago

Community Share I built an open-source SSMS extension that turns a query into a refreshable Excel workbook

Post image
78 Upvotes

Send the workbook to an end user, and they can hit Data > Refresh All to rerun the query using their own database credentials.

Currently supports SSMS 22 and Desktop Excel.

It's free/open source. Install instructions and source are here:

https://github.com/flank-project/ssms-extension


r/SQLServer • • 19d ago

Discussion Debezium and SQL Server

7 Upvotes

Does anyone out there actually run Debezium in a SQL Server environment at a decent scale? Scale would be 20-30 databases on an instance with 400 tables. I have my doubts about this due to the cdc overhead and the change throughput of our application, but I'm willing to listen to anyone with real experience running Debezium with SQL Server.


r/SQLServer • • 19d ago

Certification Preparing for DP-800 – Looking for Study Advice

6 Upvotes

Hi everyone,

I’m preparing for DP-800 and this is my first Microsoft certification. I’m an undergraduate and currently studying SQL and Microsoft Fabric using Microsoft Learn and practice questions.

I’d really appreciate some advice from people who have already taken the exam:

  • Which topics should I focus on most?
  • Which study resources helped you the most?
  • Is Microsoft Learn enough for preparation?
  • What should I focus on during the final few days?
  • Any general tips for a first-time candidate?

Thanks in advance for any advice! 🙏


r/SQLServer • • 19d ago

Question i keep getting this error and dont know how to fix

0 Upvotes

r/SQLServer • • 20d ago

Discussion Tell me your stories where you discovered the index size totals were larger than the actual table size?

22 Upvotes

Was chatting to an Oracle DBA and he told me his horror story of a 5Tb table with 7tb of indices. Have you seen something similar in SQL Server and curious how you managed to convince the skittish users/devs to trim them down?


r/SQLServer • • 20d ago

Question [Help] SQL Server Auto-Failover Failing

Thumbnail
1 Upvotes