r/SQLServer • u/itsnotaboutthecell • Mar 25 '26
Community Share Unifying the Data Estate for the next AI Frontier | FabCon / SQLCon Keynote
r/SQLServer • u/itsnotaboutthecell • Mar 25 '26
r/SQLServer • u/dlevy-msft • Mar 25 '26
Hi Everyone,
I'm back with another mssql-python quick start. This one is BCP which we officially released last week at SqlCon in Atlanta.
This script takes all of the tables in a schema and writes them all to parquet files on your local hard drive. It then runs an enrichment - just a stub in the script. Finally, it takes all the parquet files and writes them to a schema in a destination database.
Here is a link to the new doc: https://learn.microsoft.com/sql/connect/python/mssql-python/python-sql-driver-mssql-python-bulk-copy-quickstart
I'm kind of excited about all the ways y'all are going to take this and make it your own. Please share if you can!
I also very much want to hear about the perf you are seeing.
r/SQLServer • u/confused_112 • Mar 24 '26
Our TEST sql server just stopped working. It can’t write to ERRORLOG file, nothing in event viewer so basically no idea.
We were like its just TEST server lets restore it as it was working yesterday or a week ago. We tried restoring from March 6th backup and it started working until after few hours same thing happend.
SQL service won’t start, it can’t write any logs to ERRORLOG file and nothing in event viewer.
Again tried a different restore point but again after few hours SQL server stops working.
Most likely Master DB is getting corrupted but not sure how, there are no specific job running.
ERRORLOG file does not report anything critical when it stop writing logs.
Now we are changing it resources and storage from one host to another to see.
We tried other different troubleshooting steps or other solutions you can find online.
Has anyone faced similar situation?
Update: Changing the storage on VMware did the trick and its running since over 24 hours, it could’ve been a bad sector of storage and when restoring it was being restored to original location.
The SQL expert on our team had faced a similar situation in the past where error was different but storage was the culprit.
Update: The issue came back again and seems like its windows security update for SQL server 2016 changing agent XPs from 0 to 1
Update:2 - SOLVED - Forgot to update but it was definitely windows sql server 2016 update.
r/SQLServer • u/PotatoHasAGun • Mar 24 '26
Anyone else running into issues with SQL 2025 and log shipping? I keep getting errors about missing DLLs for all LS jobs. I’ve been able to get past some of the errors by changing the folder names of some DLLs but still having more issues. Original error: “could not load file or assembly ‘’Microsoft.sqlserver.connectioninfo””
This is for both in-place upgrades and fresh installs. I have tested on Enterprise Developer edition with latest CU.
r/SQLServer • u/DisplayKnown5665 • Mar 23 '26
Does your company use SSRS for data integrations?
I took over the SSRS admin role a few months ago and my company has a few report subscriptions that are used for some integrations. They render the report in CSV format and drop the CSV to a file share. Some other integration then picks it up and loads it into the system.
Part of me thinks it's a bit odd to use a reporting platform for data integrations. Would I be crazy to suggest that these should be handled differently?
r/SQLServer • u/itsnotaboutthecell • Mar 23 '26
I’d love some community feedback on a few things to help keep this sub safe, useful, and enjoyable. I have my own opinions, but it’s your perspectives that really make this a space worth visiting again and again.
---
First: job postings
I genuinely love that people can discover new or better job opportunities through Reddit. That said, I get cautious when posts don’t include a reputable, verifiable link and instead rely on sliding into the DMs for details.
Recruitment fraud (aka career catfishing) is a real thing. It can involve interviews, an “offer,” and then requests for personal information that end up being stolen. Yeah, it's not great.
With that in mind, I’m proposing that job postings require a verifiable URL - such as LinkedIn, Indeed, or a direct company careers page. No link, no post.
---
Second: market research postings
I love seeing open‑source tools shared here. However, with the increase of AI development, we’re seeing a lot more posts that feel like market research - questions intended to validate or shape a product that would eventually be sold back to you.
We already have a “no solicitations” rule, but I think we should be more explicit. So, I’m proposing that we expand it to clearly include “no market research” as well, to avoid misuse of the community. It's a squishy area, but I believe the posters should be more upfront and clearer with their intentions - Reddit Ads exists if they wish to get your eyeballs on their products.
---
That’s what’s top of mind for me. Let me know what you think in the comments.
r/SQLServer • u/mr_shush • Mar 23 '26
Our current environment consists of 3 bare-metal hosts running 3 instances of SQL in a Failover Cluster. These are all active nodes with shared storage. Total of 235 databases, but they are not distributed evenly. A few of the databases hit the 2-4 TB size, but most are < 500 GB (most significantly less). One of the instances hits ~900k transactions per minute (this one has ~2/3 of the databases, the other 2 instances are <75k TPM), but none of the dbs is an OLTP system. Most of those transactions are reads from some very chatty apps.
The time has come to upgrade the hardware and my intent was to re-architect and shift to Availability Groups on several VM hosts. We don't currently have good DR and everything is Enterprise license. I expect my number of hosts would increase as would the burden for keeping them updated, but since the hardware we're currently running on is ~7 years old the increase in performance on a 1-1 core basis is about 3x as is the clock speed on the RAM. We aren't currently experiencing undo performance issues.
The question I have is am I going in the right direction here? I know ~100 dbs is the upper limit for AGs and that my storage needs will double, but I felt the ability to add nodes in our DR location when bandwidth is sufficient and being able to perform rolling updates without down time in the future were a good tradeoff. Initially I was told a good chunk of the databases had 30 minute RTOs and thought I might be able to shift some of them to standalone Standard Edition servers to save money, but that has been called into question. So now I'm wondering if keeping the old architecture (maybe just running it on VMs) would be a better call.
r/SQLServer
•
u/VladDBA
•
Mar 22 '26
Took me a while, considering the previous release was back in December, but the latest release of PSBlitz is finally out.
For anyone not familiar with PSBlitz - it's a PowerShell-based tool that outputs SQL Server health and performance diagnostics data to either Excel or HTML, and saves execution plans and deadlock graphs as .sqlplan and .xdl files.
If you're familiar with Oracle, this is pretty much my attempt of a SQL Server equivalent to Oracle's AWR report.
Feel free to give it a try and let me know what you think.
Additionally, if you work with Google Cloud SQL, check out the latest release of Brent Ozar's First Responder Kit which addresses the same GCSQL compatibility issues I've ran into with PSBlitz.
Edited to add:
Please read the breaking changes section of the release.
I know some folks use PSBlitz in automations/pipelines and the change from string to switch of 3 parameters (ToHTML, InDepth (also renamed from IsIndepth), and ZipOutput) will mess with their existing stuff if they don't update the commands in their automations: .
r/SQLServer • u/bobogator • Mar 22 '26
Which do you use as a DBA and/or system admin? I'm very comfortable using either. 100% of my sql work is in a vdi so Devolutions Remote Desktop Manager would get me into all my windows servers and vdis on a macbook also. Most of my local work is common apps like Outlook, Chrome, Teams, but smb file work/transfers are keeping me in a Windows 11 laptop. Accessing/mounting smb shares on the macbook is a pita and slow and Finder is more cumbersome than Explorer. Our company also uses Parallels so I could probably get a Windows 11 vm on the macbook.
r/SQLServer • u/DannyKruge • Mar 21 '26
Over the past few years I’ve spoken a lot about Azure SQL migrations and shared how I approached them in different environments. During presentations I often showed the scripts and processes I used to move databases between environments and even across subscriptions.
But I always felt there was an opportunity to go further.
So I did.
I built a fully automated Azure SQL migration solution and open sourced it.
This project automates the process of migrating Azure SQL databases across subscriptions and environments, removing a lot of the manual work that normally comes with these kinds of migrations. It focuses on making migrations repeatable, reliable, and easy to run while still giving you full control over the process.
What makes this project extra interesting is that the approach used here is not documented in the Microsoft Learn. To make this work, I actually dug into the source code of the Azure CLI and PowerShell modules to understand how the underlying functionality works and then built the automation around it.
The result is a workflow that can move Azure SQL databases across subscriptions in a consistent and automated way instead of relying on complex manual steps.
The full project is open source and available here
https://github.com/MrKruge/AzureSQLMigration/blob/main/README.md
r/SQLServer • u/BugCat-007 • Mar 20 '26
Uso provedor um Cloud em meu ambiente e configurei do zero o Cluster e listener do Always On SQl com base em documentação e ajuda de IA e Forums, porem estou enfrentando problemas quando ativo failover no servidor de replica.
Apontei o back para o IP do Listener que deveria gerenciar essas conexões, foi pego um IP não utilizado, aparentemente a configuração de listener e cluster estariam ok, "up" e apontou certo no failover para o segundo servidor.
O problema ocorre quando sai do primario para o secundario, a aplicação da erro e não funciona. Acesso ao banco e tabelas direto pelo gerenciador está ok. Quando está para o servidor inicial (primario) o erro no ocorre.
Alguma ideia?
r/SQLServer • u/LopsidedAd5076 • Mar 19 '26
Is it Sql Server 2025 latest version support ifilter ? We tried to install Adobe, xchnage and foxit ifilter, but they it not appear in the sql server when run this querySELECT *FROM sys.fulltext_document_typesWHERE document_type = '.pdf';
Any Reply pls
Regards
Aravind
r/SQLServer • u/greenman623 • Mar 19 '26
When updating (side by side) sql server to 2025 do I still need to make a backup? New to it support and have been tasked with updating our sql server. We use titanium schedule and their support sent me a bunch of info that I’m not certain if I need to do. Just reaching out to anyone that can help because I’m kinda confused and didn’t know if upgrading sql server was a tedious process.
r/SQLServer • u/dfurmanms • Mar 18 '26
We just released a MSSQL engine feature that might just make the whole index maintenance debate obsolete (or should at least make it less boring). Auto index compaction is now in public preview in Azure SQL and Fabric SQL.
Announcement blog: Stop defragmenting and start living: introducing auto index compaction.
Documentation (with an FAQ): Automatic Index Compaction | Microsoft Learn.
Would you use this instead of your own index maintenance? Tell us what you think.
r/SQLServer • u/itsnotaboutthecell • Mar 18 '26
r/SQLServer • u/multi_db_dev • Mar 18 '26
Some of the most painful SQL Server issues are not caused by obviously bad queries.
They come from queries that look reasonable at first glance, return correct results, and may even run fine for a long time — until data volume, parameter values, indexing changes, or join patterns expose the real cost.
Common examples:
In practice, these cases are often harder to catch than visibly broken SQL because they survive code review and stay in production for a while.
What is the most misleading healthy-looking query pattern you’ve seen in SQL Server, and what actually made it risky?
r/SQLServer • u/n1ckst33r • Mar 18 '26
Hello,
want to use encryption per certificate. Must the sql service restart to pull the certificate? I import the certificate, give the right on the private key, but the Certificate Drop Down are empty.
Reload the sql the certificate himself from the trust store or only when its startet/restarted?
Greets.
r/SQLServer • u/Specialist-Gap108 • Mar 18 '26
Hi! beginner coder who has to learn SQL. I already understand the fundamentals: Writing a script, altering the script, and inserting data within the objects of that script. But since I learned how to do that on an app, now that I'm trying to practice doing it through open source resources, a lot of things look like a different type of language to me.
Like I just tried to insert a script on DBeaver using Oracle Apex...I need a host to do it. What the hell is even a host? And why do I need it to insert a script?
update: I still don't know wth a host is, but I do know that it comes with a lot of maintenance and needs security.... This is even more confusing
EDIT2: FOR CLARITY, I'm referring to the fundamentals of coding in languages commonly used in databases. I needed to practice with that and thought something open-source would be free and easy.
But get a hold of your balls, keep them in place; I will NOT be doing ANY of that. because of many of your help and insight, I know that I need to basically sit my ass down and read a damn book. Especially now that I've done more research... No... just no... I'm a keep them cheeks horizontal.
So for now, I've found an application that I can practice coding in, and it helps me check for any errors so I can sharpen my skills. I'll also be purchasing an A+ book to strengthen my literacy...
Thanks for the help.
r/SQLServer • u/squeezyflit • Mar 16 '26
Our SQL Server error messages only show minimal detail -- the SQLSTATE, a tag (presumably from the job step), and a generalized error message (example: "Conversion failed when converting date and/or time from character string"). We get no indication of the record number, column name, or bad data itself. When importing thousands of lines from a flat file, it makes finding the bad data a challenge.

Can SQL Server error messages be configured to provide more detail? If so, can someone point me to relevant documentation? Thank you in advance!
r/SQLServer • u/Far_Pilot_ • Mar 16 '26
I have never worked on this method and i bave researched abit and came across 2 methods
1 using polybase
2 using SSIS
Please help me
r/SQLServer • u/Ok_Abrocoma3757 • Mar 14 '26
Hi,
I've got some SQL instances on Windows Server with failover clustering. Planning to set up SSL on them.
How does everyone automatically handle certificate expiry - any good walkthroughs or pre-existing scripts? The more automated the better, given how CAs are obsessed with cutting certificate durations.
The official documentation covers doing it manually. DbaTools makes it easy automate rotation on a single-node instance, I'm just struggling to combine the two.
The dream would be to have something that handles detecting renewals, importing to all nodes, and maybe the service restart.