Core component of SQL Server for storing, processing, and securing data
Why does sys.dm_db_log_space_usage.used_log_space_in_bytes keep increasing with Simple recovery model
I have a simple database with essentially only one active table, though it is a large one. It is for app analytics. A bunch of records are inserted every few seconds. It is searched a few times every day. That is all of its use. Its recovery model is…
SQL Server Database Engine
SQL Server 2022 reports a unique index violation for a non-unique index
Under SQL Server 2022, an intermittent 2601 error occurs during a scheduled data load. SQL Server reports a duplicate key violation on a non-unique index, while referring to the index as a unique index. Another anomaly is that the duplicate key reported…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
Failed to install Microsoft Sql server latest version.
I have bought a laptop named ASUS gaming TUF A15. I am trying to install SQL server latest version but failed every time. I contacted ASUS for this. They said this is a third-party application. they are not responsible for this. You need to connect…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
SQl Services not starting after installing CU3 on SQL 2025
I have installed SQL Pacth on Failover cluster instance for SQL 2025. After installing , SQL Services are not coming up. Error Error message - Script level upgrade for database 'master' failed because upgrade step 'ISServer_upgrade.sql'…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
New CE ignores statistics for LIKE predicates on varchar columns with UTF-8 collations — fixed 9% guess (partially fixed in CE 170, `%x%` still affected, no backport)
SUMMARY For varchar columns using any UTF-8 collation (collation name ending in _UTF8), the modern cardinality estimator (CE model 120 to 160) never consults the histogram or string statistics for LIKE predicates. Every "LIKE 'prefix%'" and…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
Performance regression von SQL Server 2022 to 2025
We have the following scenario we could reproduce on a single/same Windows Server 2019: Microsoft SQL Server 2025 (RTM-CU8) (KB5104822) - 17.0.4075.5 (X64) - Enterprise Developer Edition (64-bit) on Windows Server 2019 Datacenter 10.0 <X64>…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
How to prevent auto-update of SQL Server 2025 Engine?
Hi. I am convinced of a JSON bug introduced somewhere between CU4 and CU6. I want to reinstall my instances so I can troubleshoot and then post the bug if it exists. I have repeatedly uninstalled my SQL Server 2025 instances. I have reinstalled 3 RTM…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
SQL connection failed with SSMS on workgroup when using FQDN
Hello, When I try to connect locally (or remotely) with SSMS on my SQL server with hostname "localhost" or "hostname" it works fine. However, if I try with "hostname.domain.com" it doesn't work I have error 18452 (Login…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
Clarification on SQL Server License Compliance during FCI Migration (VMware to Hyper-V)
Hello everyone, I am currently executing an internal infrastructure migration project moving our environment from VMware to Microsoft Hyper-V, and I need some clarification on SQL Server licensing compliance during the transition phase. Current…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
What are the best practices for improving SQL Server database performance?
I’m learning SQL Server and would like to understand the most important practices for keeping a database performant . Which areas should I focus on first, such as indexing, query optimization, statistics, execution plans, and database configuration?
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
AG instance not in sync
We have 8 databases in an instance. All 8 databases are members of Availability Group. On the secondary replica, the whole instance is not synchronizing . Could you please advise how to bring the secondary instance as synchronized Thanks, Chaitanya
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
Database refresh from Production to Dev
We want to restore some databases from Production server to Dev server. We want to create a job that automatically restores a fresh copy of these databases to Dev server on 10th of each month. Could you please advise on how to do this.
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
On-prem SQL server needs a Trust certificate
Hello Team, We have on-prem SQL Server which is running from Azure VM. From same Azure VM, we have Gateway running as well. However, we are facing an issue while connecting SQL server with PowerBI desktop and Services. For this issue, PowerBI team has…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
Clarification on MSOLEDBSQL19 Behavior with TrustServerCertificate=True
Hello Team, We are currently using the MSOLEDBSQL19 driver on Windows systems and would like to better understand its connection behavior related to encryption and certificate validation. While testing SQL Server connectivity, we observed that a…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
services.exe D:\MSSQL\MSSQL17.MSSQLSERVER\MSSQL\Binn\SQLAGENT.EXE ACCESS DENIED
I've been getting failed installs with SQL Server Developer Standard Edition on Windows 2025 Standard edition, error has been: services.exe 1000 QueryOpen D:\MSSQL\MSSQL17.MSSQLSERVER\MSSQL\Binn\sqlceip.exe ACCESS…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
2022 express edition and i have 2025 license
We currently have SQL Server 2022 Express installed on our server while waiting for the SQL Server Standard license. Our application only supports up to SQL Server 2022, and the license provided is also for SQL Server 2022. However, when we performed an…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
keep getting random errors everytime i try to restore a database
Hello, I would love to have some remote assistance with my issue. I'm trying to restore a database from an old computer to a new one, but the old computer is on version 12 and any new computer I try to use wants me to upgrade to version 22, and I keep…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
AUTOMATIC_TUNING
i got this error when run the alter statement in sql server standard edition 2017 and above version on-premises environment, Note that querystore already enabled without any issues ALTER DATABASE current SET AUTOMATIC_TUNING (FORCE_LAST_GOOD_PLAN =…
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
How to find and replace table name changes in stored procedures
I have create a SQL database with several tables and some stored procedures. Now I want to change the name of some of the tables. How can I get it to find and replace the changed table name in the stoed procedures
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data
sql server management studio 2018 user setup
how to set up user account and login for sql server management studio 2018 and connect to database
SQL Server Database Engine
Core component of SQL Server for storing, processing, and securing data