299 questions with SQL Server Database Engine tags

Sort by: Updated
0 answers

How to remediate hadoop-common-2.6.0.2.2.0.0-2041.jar vulnerabilities in SQL Server path/Program Files/Microsoft SQL Server/130/DTS/Extensions/Common/Jars/hadoop-common-2.6.0.2.2.0.0-2041.jar

How to remediate hadoop-common-2.6.0.2.2.0.0-2041.jar vulnerabilities in SQL Server path/Program Files/Microsoft SQL Server/130/DTS/Extensions/Common/Jars/hadoop-common-2.6.0.2.2.0.0-2041.jar

SQL Server Database Engine
asked 2025-06-30T11:13:04.09+00:00
Gorla, Siva 5 Reputation points
commented 2025-08-12T06:44:29.4966667+00:00
Ilieva, Velina 0 Reputation points
1 answer

KB5058713 fails install

KB5058713 fails install regardless of reboots, disabling SQL services, or Safe boot. O/S: Win10 Pro 22H2 x64 Tried: Run WUpdate Troubleshooter - fails to launch due to error 0x80070003 Reboot & Update - install fails Clean boot & Update -…

SQL Server Database Engine
asked 2025-07-09T21:55:03.7266667+00:00
tocguy 40 Reputation points
commented 2025-08-10T14:53:13.52+00:00
XM G 0 Reputation points
2 answers

Best practice with sp_syspolicy_events_reader and ##MS_PolicyEventProcessingLogin##

The SQL Server logs on our primary replica (Microsoft SQL Server 2022 with Always On) has been filling up with this repeated message: The activated proc '[dbo].[sp_syspolicy_events_reader]' running on queue 'SQLAG1_msdb.dbo.syspolicy_event_queue'…

SQL Server Database Engine
asked 2025-08-05T14:53:19.4333333+00:00
anna@tec 0 Reputation points
commented 2025-08-08T21:21:48.1866667+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
2 answers

Data Synchronization - Syncing Two Databases in SQL Server

I'm needing to take one database and have it on two separate sql servers (in two different physical locations) and have it stay in sync. Is there a way that I can do this? I've looked into SQL Server Replication ie:…

SQL Server Database Engine
asked 2025-08-05T19:47:19.7333333+00:00
Brad 0 Reputation points
commented 2025-08-08T14:00:59.7766667+00:00
Brad 0 Reputation points
1 answer

How do fix Microsoft SQL server installation issue.

I’m facing an issue with SQL Server Agent and SQL Server services. Initially, both services were not starting. After multiple troubleshooting attempts, I managed to start them successfully. However, I am still unable to log in to the database using SSMS…

SQL Server Database Engine
asked 2025-07-30T11:59:39.59+00:00
Raj Gaur 0 Reputation points
commented 2025-08-07T20:47:28.1633333+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

SQL server express not installing

Hi, I have tried to install this multiple times however this error keeps showing up. I have uninstalled it and then tried to reinstall and it hasn't worked. Is there anything else I can try?

SQL Server Database Engine
asked 2025-08-06T12:57:45.6+00:00
Andi King 20 Reputation points
commented 2025-08-07T15:27:17.4633333+00:00
Andi King 20 Reputation points
0 answers

How to fix ODBC test result failed

When we test our ODBC configuration it fails. This use to work fine, but suddenly it stopped. Here is the error message. "Microsoft ODBC Driver for SQL Server Version 17.10.0006 Running connectivity tests... Attempting connection [Microsoft][ODBC…

SQL Server Database Engine
asked 2025-08-05T22:23:26.59+00:00
SuperCoder 236 Reputation points
commented 2025-08-06T19:59:23.9566667+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
asked 2025-08-05T19:06:44.3366667+00:00
Jeremy Sandlin 0 Reputation points
commented 2025-08-06T18:50:16.8866667+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
2 answers

How to index vector fields for semantic search in sql server azure

CREATE VECTOR INDEX idx_OpenAIEmbedding ON dbo.table_name (OpenAIEmbedding) WITH ( VECTOR_DIMENSION = 1536, -- Assuming OpenAI embedding dimension SIMILARITY_FUNCTION = 'COSINE' ); Started executing query at Line 1 Msg 343, Level 15, State 2, Line…

SQL Server Database Engine
asked 2025-04-28T14:48:30.7966667+00:00
Jarle Holt 0 Reputation points
answered 2025-08-04T21:38:42.4233333+00:00
Pedro Correia 0 Reputation points
1 answer

sql server 2022 express persistent installation error

I am trying to instal sql server 2022 express, but I keep getting a persistent error:" Exit code (Decimal): -2068052377Error description: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help." I check…

SQL Server Database Engine
asked 2025-08-04T13:50:48.0566667+00:00
khlifhassine 0 Reputation points
answered 2025-08-04T20:40:05.0966667+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
3 answers

How to fix the SQL server to start - error logs " Master data"?

HI I just recently download SQL When i connect to sql server it give me error code 1067and try to sql server configuration manager to start sql server but it get me error msg which i attach the file or screenshot. please help me out .. errorlog.pdf

SQL Server Database Engine
asked 2025-07-14T18:50:22.7566667+00:00
Joli shah 0 Reputation points
answered 2025-08-04T09:11:27.6833333+00:00
Andew Tate 0 Reputation points
0 answers

i am unable tonnect my SQL database Engine server

i am unable tonnect my SQL database Engine server i am tried it lots of time by installing and uninstalling the SQL setup i want its solution or online support

SQL Server Database Engine
asked 2025-08-01T05:45:06.4466667+00:00
Bilakar, Rahul 0 Reputation points
commented 2025-08-01T08:46:45.7433333+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
4 answers

.NET GC not reclaiming memory after List<T>.Clear() in SQL CLR UDF under load - leads to memory insufficiency in SQL Server

We're running into memory insufficiency issues on SQL Server when using a SQL CLR UDF written in C# targeting .NET Framework 4.8. The function uses a singleton class to cache user session info using a List<T> of structs. Each struct holds…

SQL Server Database Engine
asked 2025-07-11T12:07:51.5866667+00:00
Rakesh Kumar 0 Reputation points
commented 2025-07-30T08:16:51.1566667+00:00
Rakesh Kumar 0 Reputation points
0 answers

How to fix transactional replication latency

Good Morning All, We are facing replication latency issue. I checked for blocking, long running transactions or bulk operations running. I tried re-running the distribution agent job also. But still the latency exists. Could you please tell me what all I…

SQL Server Database Engine
asked 2025-07-19T08:52:14.89+00:00
Chaitanya Kiran 801 Reputation points
edited a comment 2025-07-30T08:05:23.36+00:00
Chaitanya Kiran 801 Reputation points
2 answers

SQL Server 2022: Memory Leak with context connection=true in SQLCLR vs Stable Behavior Using External SqlConnection

Hi Microsoft team and community, I've been stress testing a SQL Server 2022 Developer Edition installation on Windows Server 2025 Datacenter using SQLCLR UDFs that interact with an unmanaged C DLL via DllImport. The workload involves 400+ concurrent…

SQL Server Database Engine
asked 2025-07-21T12:32:23.4933333+00:00
Rakesh Kumar 0 Reputation points
edited the question 2025-07-30T08:17:47.67+00:00
Rakesh Kumar 0 Reputation points
2 answers

Cores Per Socket Best Practices for VMs

Hello, What configuration offers better performance for SQL Server Enterprise Edition Running on virtual machines like VMWare: multiple sockets with one core each (e.g., 8 sockets, 1 core per socket) or a multi-core setup (e.g., 1 socket, 8 cores)?…

SQL Server Database Engine
asked 2025-07-22T19:08:33.1466667+00:00
Wallace, Glenn 20 Reputation points
answered 2025-07-29T14:39:32.8133333+00:00
Ben Miller-(DBADuck) 195 Reputation points MVP
2 answers One of the answers was accepted by the question author.

Does Alter Table Add Column with Default Value work the same on Standard and on Enterprise

SQL Server 2019 Standard Edition ALTER TABLE CommunicationsRecipient ADD CausedUnsubscribe Bit NOT NULL DEFAULT 0; I had a 3rd party software upgrade that failed on an Alter Table Add column statement on a 45 million row table. The Upgrade has a built-in…

SQL Server Database Engine
asked 2025-07-23T15:21:32.1533333+00:00
Miles P 20 Reputation points
accepted 2025-07-29T14:39:12.87+00:00
Miles P 20 Reputation points
3 answers

Is there any code difference between SQL Developer edition and Standard edition.

I am planning to migrate our non prod server from SQL Server 2019 standard edition to Developer edition. Our prod servers are all standalone servers. no encryption enabled for any of the databases. Now, I have below questions. Do we face any issues if…

SQL Server Database Engine
asked 2025-07-23T17:57:55.4466667+00:00
Venkatarao Thallapaneni 0 Reputation points
commented 2025-07-29T16:51:37.54+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

SQL Service not started even SQL installed successfully

Issue Summary for HP Support – SQL Server Stack Overflow on HP EliteBook 👤 User: Laptop: HP EliteBook 640 G11 Notebook PC OS: Windows 10 Enterprise x64, Build 26100 System: Physical machine, no virtualization Memory: 16 GB RAM Disk: Sufficient…

SQL Server Database Engine
asked 2025-07-25T04:16:26.8733333+00:00
Senthil Murugan 20 Reputation points
accepted 2025-07-29T03:36:47.7566667+00:00
Senthil Murugan 20 Reputation points
1 answer

Patching is breaking the Master Database of SQL Server Installed

Hello, I am operating Microsoft SQL Server 2019 Enterprise Edition within our environment. One of our SQL Server instances, which is hosted on a virtual machine (VM), has SQL Server Integration Services (SSIS) installed. We’ve encountered a recurring…

SQL Server Database Engine
asked 2025-07-29T17:16:10.94+00:00
Tendongho, Charles 0 Reputation points
answered 2025-07-29T19:12:15.43+00:00
Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator