Issue with SQL Server 2022 RTM GDR (KB5046861) Update - Error code (Install error - 0x851a0020)
Greetings, I need help with an issue I’ve been experiencing for the past month. Below is a short description of the problem: I regularly install Windows updates, and about a month ago I encountered an issue with installing the SQL Server update…
SQL Server Database Engine

How to Migrate SQL Server from One Tenant to Azure SQL VM with Minimum Downtime
we have a scenario where we have a sql server on 1 tenant that needs to be transitioned to Azure SQL Virtual Machine. Scenario: 1, Minimum down time migrate from 2016 SQL on windows 2019 to SQL 2022 on windows 2022 Integration services need to be…
SQL Server Database Engine

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
Suddenly getting this error when using SSMS Import/Export Wizard and importing from Excel spreadsheet.
SQL Server Database Engine
How to recreate sql from read transaction logs
How to read the transaction log to re-create an insert statement
SQL Server Database Engine
Trigger on cascading update target doesn't fire when the OUTPUT clause is used
Hello. I asked this question on stackexchange and the guys from the community recommended me report it to Microsoft https://dba.stackexchange.com/questions/346386/trigger-on-cascading-update-target-doesnt-fire-when-the-output-clause-is-used Below is the…
SQL Server Database Engine
Investigate Root Cause of DBCC CHECKDB error | (SQLSTATE 42000)(Error 8992 | Catalog Msg 3853)
Details: I am running Microsoft SQL Server 2022 I am running DBCC CHECKDB on a user database (of which raised this error), each saturday This has happened on one on-prem Windows Server with installation of SQL server, with a predefined set of…
SQL Server Database Engine
Cyber Attack or Account Compromized
Hi, Someone deleted my SQL Database instance name 'CroLahoreDB' early today 08:33 am, I want to know that how is it possible either it is cyber attack or my Account is compromized or some virus? How can I check it? please guide me. Regards Mubashir Ali
SQL Server Database Engine

SQL Stretch DB - error Msg 40673, Level 16, State 1, Line 24
Hi when setting up StrechDB from an on prem server i get the error below Msg 40673, Level 16, State 1, Line 24 The service objective assignment for the database has failed This happens when i run the following script ALTER DATABASE XXXXXXX SET…
SQL Server Database Engine

the file %commondir%\dte80.olb could not be loaded
Hi .. Today I woke up and just open the server and start SQL server manegment studio and I received this message "the file %commondir%\dte80.olb could not be loaded an attempt to repair this condition failed because the file could not be found…
SQL Server Database Engine

SSMS not showing Attach Database/Locate Database Files Dialog DIR Tree.
I am unable to Attach a Database in SSMS. The Locate Database Files Dialog text is frozen on a USB port folder that no longer exists. Even entering a dummy database file *.mdf, the OK button does not enable. When I tried to repair SSMS, Error message;…
SQL Server Database Engine
MSSQL connection in Visual Studio Mac->(Socket Exception)
HI Community! I am facing the following problem and it is driving me crazy. I was creating a SQL Server in Azure, and I was trying to connect via Visual Studio Code, but using the exactly same configuration n Mac I am getting this error…
SQL Server Database Engine
Request for API Integration to Auto-Create ServiceNow Incidents from SQL Server Alerts
Hi Team, I’m currently managing our MSSQL environment at Tech Mahindra, and I’d like your guidance on integrating ServiceNow with SQL Server using APIs. As of now, we are receiving all alert notifications (job failures, maintenance job issues, etc.) via…
SQL Server Database Engine
For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=17.100.40.0&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476
Microsoft.Data.SqlClient.SqlError: Cannot use the backup file 'C:\Program Files\Microsoft SQL Server\MSSQL16.SQLEXPRESS\MSSQL\Backup\Surveillance.bak' because it was originally formatted with sector size 512 and is now on a device with sector size 4096.…
SQL Server Database Engine

SQL Server MAXDOP - server vs database scope
I have multiple databases for one app running on a dedicated SQL 2019 instance (Always On primary replica). The server MAXDOP setting is 8. The individual databases are set to 0. If I want the databases all to be 5, should I change them to 5…
SQL Server Database Engine
Availability Group is not connecting through Listener
I have set up 2 SQL VMs on Azure with VPN we connect to those VMs and it is a single subnet , No Public IP is used. but the listener is only accessible from Node1 when Node1's Availability group is primary and the listener is not accessible from Node1…
SQL Server Database Engine
summary.txt after rebuild the system database.
I ran the following command to rebuild the system database X:\Backups\2019>setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=domain\myusername Microsoft (R) SQL Server 2019 15.00.2000.05 Copyright (c) 2019 Microsoft. …
SQL Server Database Engine
SQL Server 2022 Oops... Error decompressing SQL Server media
Hello, I am trying to install SQL Server 2022 for the first time, but it gives me this error. I spent about 10 days to find the main cause of this problem and try to solve it, but it seems that is a new one. I tried to: remove .exe installation file…
SQL Server Database Engine
Understanding SMTP Authentication in SQL Database Mail Configuration
In the SQL Database Mail Configuration Wizard, basic authentication is currently being used. Does this imply the use of interactive or non-interactive login? Some articles suggest that providing a username and password constitutes interactive login,…
SQL Server Database Engine
Is a license required for SQL Server Express?
I understand SQL Server Express is free but is a license required to install and use SQL Server Express?
SQL Server Database Engine

Why has SQL Server's ranking been falling behind
Why has SQL Server's ranking been falling behind and may be overtaken by PostgreSQL in a few months since the dbengine website was acquired by Redgate? What do you think are the reasons?