r/SQLServer • u/dgillz • Dec 05 '25
Question SQL Server sa password recovery
I need to recover the sa password. Not reset but recover.
Are there any commercially available tools to do this? Any other way to do this?
r/SQLServer • u/dgillz • Dec 05 '25
I need to recover the sa password. Not reset but recover.
Are there any commercially available tools to do this? Any other way to do this?
r/SQLServer • u/royte • Dec 05 '25
I'm looking for ways to sign in to GitHub Copilot without direct browser access. You can replicate similar behavior using "run as" as long as that account does not have a Edge profile or in some other way deny access to the default browser.
Two paths I've tried to follow, without success:
r/SQLServer • u/RevolutionaryBag9251 • Dec 05 '25
I've been struggling with an issue in SSRS where negative values are present in the exported CSV, but they do not appear in the chart itself.
I’ve tried several things already, including:
But no matter what I change, the chart still refuses to display any negative values.
Here are screenshots showing the design and the preview behaviour:


images attached
Has anyone run into this before?
Is there something specific in SSRS that prevents negative values from being displayed unless configured a certain way?
Any guidance on what I might be missing would be hugely appreciated!
r/SQLServer • u/rommsie • Dec 02 '25

Hi, I posted this on another subreddit, but had no luck
I'm trying to install SQL Server Express 2022 and it's all fine til the final part, where it shows me these errors
To provide more context, I've installed this exact same version of SQL months ago (without any of these errors, this is the first time that happens)
Due to disk space limitations, I had to uninstall it (and every feature and or extensions that I've installed first, with RevoUninstaller), now that I have enough space, I'm trying to do it again
I kept the exe file from when I installed it, so I'm using the same if that helps
I also tried to deactivate Defender and the Firewall when installing, in total I've tried it like 9 times, changing options and deleting the remaining folders after every uninstall
Could it be because I'm trying to install the database in the D:/ disk? Or what can cause these errors?
I'll attach the log file under this post
r/SQLServer • u/AutoModerator • Dec 02 '25
Welcome to the open thread for r/SQLServer members!
This is your space to share what you’re working on, compare notes, offer feedback, or simply lurk and soak it all in - whether it’s a new project, a feature you’re exploring, or something you just launched and are proud of (yes, humble brags are encouraged!).
It doesn’t have to be polished or perfect. This thread is for the in-progress, the “I can’t believe I got it to work,” and the “I’m still figuring it out.”
So, what are you working on this month?
---
Want to help shape the future of SQL Server? Join the SQL User Panel and share your feedback directly with the team!
r/SQLServer • u/Acuapopiii • Dec 02 '25
I'm having trouble installing SQL Server...
Every time I try, I get an error in "Database Engine Services."
I've tried restarting the installation several times, but I always get the same error.
Does anyone know how to fix this so I can install SQL Server?
The summary log file is this:
r/SQLServer • u/njeyrud • Dec 02 '25
If you teach or learn with our authorized training partners, your voice matters. We’re running two short surveys to capture real-world feedback on the official instructor slide presentations to understand what lands, what lags, and what would make them sparkle.
It’s quick and your insights will drive the next round of improvements.
We want your opinions about:
Please share with your cohort or training network so we get a broad set of voices. Thanks for helping us level up the learning journey!
r/SQLServer • u/JoeK929 • Dec 02 '25
Everyday at 8:01 PM, the Log file backup grows to 14GB, and then comes back down to 3MB most of the day. Sometimes I'll get a random backup of 50 MB.
I've noticed I have a few jobs failing daily also. "Database Integrity Check" and "Index Optimize " are failing. They used to work, but I can't figure out why they're failing now. I have a failing it's related.
Version: SQL Server 2019
There error is:
Message
Executed as user: {SERVER}\SYSTEM. Microsoft (R) SQL Server Execute Package Utility Version 15.0.2000.5 for 64-bit Copyright (C) 2019 Microsoft. All rights reserved. Started: 1:15:00 AM Progress: 2025-12-02 01:15:01.68 Source: {2729C112-5833-4A58-8EAF-2B91A4AEC2A8} Executing query "DECLARE u/Guid UNIQUEIDENTIFIER EXECUTE msdb..sp...".: 100% complete End Progress Error: 2025-12-02 01:15:01.84 Code: 0xC0024104 Source: Reorganize Index Description: The Execute method on the task returned error code 0x80131501 (An exception occurred while executing a Transact-SQL statement or batch.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 1:15:00 AM Finished: 1:15:01 AM Elapsed: 0.922 seconds. The package execution failed. The step failed.
Update February 2, 2026:
I don't know why, but the issue resolved itself. I don't know if it's an issue with how the application is configured perhaps.
r/SQLServer • u/Vickkysharma • Dec 02 '25
tried installing MSSQL Server Express on Windows 11 and it’s been a complete mess. I deleted all old services, ran the CMD clean up commands, removed Browser/Agent/Writer, restarted everything.
Still, every install ends with the same error: “Wait on the Database Engine recovery handle failed."
Services show “Failed to read description. Error code: 2” and the setup leaves half-installed junk behind.
I just want a clean reset and a working install. Anyone know a guaranteed fix?
r/SQLServer • u/dlevy-msft • Dec 01 '25
It's the first week back in the office after Ignite. Reflecting on a great week at Ignite, I spent all of my free time hanging out between the Fabric databases and SQL databases booths. It was a lot of fun to help out with questions, but it was also great to hear what everyone thought we were doing well and where we can improve.
The SQL team needs your feedback and expertise to make sure we are building solutions that help you grow your business.
Join the SQL User Panel by filling out this form: aka.ms/JoinSQLUserPanel
r/SQLServer • u/bobogator • Dec 01 '25
We keep scripts like sp_whoisactive, sp_blitz and the Ola scripts in master. Is that an automatic failure for a soc2/sox audit? My googling is finding that the failure is based on user objects for applications that would require non-sysadmin login access to master, not admin tools that don’t modify data and are run by members of sysadmin, but it’s not clear. Thanks!
r/SQLServer • u/SkullLeader • Nov 30 '25
Long story short, we have a stored proc that does an UPDATE on a specific table. Our job scheduler can be running numerous instances of this proc at the same time. We are seeing deadlocks occur because these UPDATEs are causing page level locks on the table being updated and of course numerous instances are each acquiring page locks needed by the other instances. Eventually (hours later) SQL server choses one to kill which frees the deadlock. Ok in the sense that we can just rerun the killed instance, but really bad because each job needs to rerun every few minutes, so holding things up for hours causes huge issues for us.
In our proc, would using sp_getapplock prior to executing the UPDATE and then using sp_releaseapplock right after the UPDATE completes be a good way to mitigate the issue we are seeing? Something like the below, but we might make several attempts to obtain the lock a few seconds apart before giving up and calling RAISERROR.
DECLARE u/result INT;
EXEC u/result = sp_getapplock
u/Resource = 'MySemaphore',
u/LockMode = 'Exclusive',
u/LockOwner = 'Session',
u/LockTimeout = 1000; -- ms
IF u/result < 0
RAISERROR('Failed to acquire semaphore', 16, 1);
ELSE
BEGIN
<our UPDATE>
END
EXEC sp_releaseapplock u/Resource = 'MySemaphore', u/LockOwner = 'Session';
My main concern here is that if, for any reason, an instance of the proc fails to call sp_releaseapplock we'd be in worse shape than we are currently, because now (I think) we need to get a DBA involved to go and manually clear out the lock that was created, while all instances of the proc that get run in the meantime fail to acquire the lock and so do not do this UPDATE. Is there some way to guarantee that sp_releaseapplock will be called no matter what?
Are there any other approaches to avoiding these deadlocks that might be better?
r/SQLServer • u/Mageentta • Nov 29 '25
r/SQLServer • u/Expert-Examination34 • Nov 28 '25
I have an application where I need to use SQL Server, and I was thinking of buying a reuse license to install on a Linux VPS at NetCup. Has anyone had any problems doing this?
r/SQLServer • u/johnie3210 • Nov 28 '25
I might migrate later on when i learn the free version, if i want to upgrade will it be straight forward ? i think i need only to pay for license and i am good to go right? currently the express version with the 10gb limit is generous to be fair but was thinking for long term
r/SQLServer • u/Legal_Revenue8126 • Nov 28 '25
I'm trying to prototype some functions to later use with my PHP web server, so I want to be able to send one variable back to the web server. Previously, I was executing the function on the web server by sending multiple queries to the DB, but I feel that has major performance losses.
Highly simplified version of the function. The end result is to have '@Count' return to the web server with the number of documents that exist in each Document column
While @i < 6
begin
set @Document = 'Document' + cast(@i as char(1));
set @query = 'select count('+@Document+') as DocCount from mydb.Documents where
'+ @Document +' is not null;';
-- ideally do something like @count = @count + (result of query)
set @i = @i + 1;
end;r/SQLServer • u/RVECloXG3qJC • Nov 26 '25
Is there a way to migrate all SSRS objects (folders, reports, data sources, etc.) to a new server? Ideally, I’d like users not to have to re-enter credentials for data sources that use stored credentials after the migration. Is this even possible?
r/SQLServer • u/aminmashayekhi • Nov 25 '25
After upgrading my SQL Server from versions 2014 and 2022 to 2025, I noticed a significant slowdown in query performance. This only happens when using SQL Server Authentication, but if I add Trusted_Connection=True, the queries run at normal speed; without it, they become very slow.
r/SQLServer • u/Matze-de • Nov 25 '25
Hi there, Just reading about SQL Server 2025 Express. The size limitations are way better than in the past – 50 GB per database instead of 10 GB. The other limitations are similar to the older versions.
r/SQLServer • u/dfurmanms • Nov 24 '25
Optimized locking is an attractive new feature in SQL Server 2025. But it isn't quite the same feature we added in Azure SQL in 2023 - it's better. Recent improvements reduce the overhead of locks even more.
Are locks always required to guarantee the ACID properties of a transaction? The answer might surprise you. Read the blog to learn more and let us know what you think: https://aka.ms/olv2.
r/SQLServer • u/lanky_doodle • Nov 25 '25
We have a requirement to have some data sent from A to B, outside of the existing AGs.
What are the nuances when both the Publishers and Subscribers are in (different) AGs? Is it just a case of essentially manually duplicating on each node: so configure Publisher twice and Subscriber twice.
This is for a Reporting use-case when budgets simply don't allow for a third node in an Enterprise Edition AG: the Publishers are Ent and Subscribers are Std.
Thanks
r/SQLServer • u/zebulun78 • Nov 25 '25
I spun up a VM to test out SQL Server 2025, and installed SSMS 22 as well. First off, I notice right away that it takes forever to expand tables in the SSMS UI. I also connect via SSMS 18 and I see the same issue. Not seeing any potential fixes yet, but did see some discussion about it in the SQL Developer forums. This is frustrating...
r/SQLServer • u/dfurmanms • Nov 25 '25
Should RCSI be on by default for new databases in SQL Server and Azure SQL MI?