256 questions with SQL Server Database Engine tags

Sort by: Updated
0 answers

Migration of Data

Hello, What is is the best and most efficient (performance wise) method to migrate of full data from large database to small multiple database (microservices) during cutover. Thanks

SQL Server Database Engine
asked 2025-06-26T13:22:39.49+00:00
SVA 116 Reputation points
commented 2025-06-29T21:07:06.18+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
2 answers

I can't download SSMS, It provide Visual Studio in SSMS's Link

Dear, I can not download SQL Server Management Studio, while i click to Download SSMS it automatically download Visual Studio. Why this happed, i got this problem for a long time. This is the link…

SQL Server Database Engine
asked 2025-06-29T07:51:38.34+00:00
Sowrov 0 Reputation points
answered 2025-06-29T09:19:22.2666667+00:00
Berneice Heaney 0 Reputation points
1 answer

CU18 patch failed on my sql server 2022. SQL server is not restarting (Database engine patch failed)

How to fix this error, i got this error after applying cu18 patch to sql 2022, the error only cites that sql server agent coulnt start as sql server is down, the event viewer error code is 7001

SQL Server Database Engine
asked 2025-06-27T01:39:30.5866667+00:00
Peter Muhumuza 0 Reputation points
answered 2025-06-27T21:19:06.5233333+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
1 answer

microsoft sql server 2022 installation error

The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start. even i followed all steps…

SQL Server Database Engine
asked 2025-06-25T08:53:41.03+00:00
BHARGAV G 0 Reputation points
answered 2025-06-25T20:56:42.47+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Where is the Microsoft SQL Server 2022 Express License Terms for Redistribution and Hosting?

Where is the Microsoft SQL Server 2022 Express License Terms for Redistribution and Hosting? For SQL Server 2005 Express through SQL Server 2014 Express, the page is here: https://www.microsoft.com/en-sg/download/details.aspx?id=29693 However, that page…

SQL Server Database Engine
asked 2025-06-24T18:31:45.9466667+00:00
MichaelL 20 Reputation points
commented 2025-06-24T23:57:40.19+00:00
MichaelL 20 Reputation points
1 answer

COBOL V9 - SQL server query processing is reporting error | Need Help

Hello Experts, Greetings to All ! In our environment, there exist a COBOL V9 version POD which connects to SQL server (2019) using ODBC driver V18. In this client-server design, during the query retrieval process from COBOL to SQL server , we are getting…

SQL Server Database Engine
asked 2025-06-24T09:29:45.16+00:00
Naren 25 Reputation points
commented 2025-06-24T20:57:26.3666667+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
3 answers

Is MS ODBC driver 18.5.1.1 compatible with SQL Server 2025 for new JSON and VECTOR types?

Hello, I would like to test the new JSON and VECTOR types of SQL Server 2025 with the Microsoft ODBC driver for SQL Server. I have installed SQL Server 2025 CTP 2.0 on my Windows 11. For now I have MS ODBC driver 18.5.1.1 for Linux (Debian 12). Is this…

SQL Server Database Engine
asked 2025-06-12T12:44:51.11+00:00
Sebastien Flaesch 31 Reputation points
commented 2025-06-24T15:11:35.57+00:00
Sebastien Flaesch 31 Reputation points
3 answers

How many logical cores supported by SQL Server 2022 Standard Edition without purchasing more cores?

I am looking at purchasing Microsoft SQL Server 2022 Standard Edition to run on premise. When researching the editions online I can see that there is a maximum core count of 24 logical cores per instance. And then when I look at the pricing page…

SQL Server Database Engine
asked 2025-06-20T18:19:20.2633333+00:00
Brian Athans 0 Reputation points
commented 2025-06-23T02:39:59.59+00:00
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
1 answer

Best method to upgrade SQL to new version and remove older versions

We have several Windows servers that have multiple versions of SQL Server installed. A few servers are running SQL Server 2012, 2014 and 2016 (at least there are components from each build). IinfoSec would like the old versions removed for auditing…

SQL Server Database Engine
asked 2025-06-20T20:24:01.47+00:00
Daniel Andryszak 121 Reputation points
commented 2025-06-22T10:49:20.2466667+00:00
Lakshya Kurup 10 Reputation points
0 answers

My PC stucking at server installation

Actually I downloaded the SQL server 2019 Express , but I tried to install it took 3-4 hors even it doens't completed

SQL Server Database Engine
asked 2025-06-20T12:24:32.3733333+00:00
Saksi ENAGANDULA 0 Reputation points
commented 2025-06-20T12:40:27.66+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
2 answers

Restore SQL 2022 database to a different server & change owners issue Error: Msg 15001, Level 16, State 1, Procedure sp_changeobjectowner

Hi, We copied/converted AS400 DB2 database to SQL 2022 database serverA and then backup & restore to SQL 2022 databaseB and when we try to change owners using a script (set @oldowner = 'CTL', set @newowner = 'TESTCTL') then it is throwing error. Msg…

SQL Server Database Engine
asked 2025-06-20T03:33:45.0666667+00:00
AdnanMN-6863 0 Reputation points
answered 2025-06-20T09:30:36.5666667+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
1 answer

Is CVE-2025-29803 affecting SSMS 20.2.0 which comes with Visual Studio Tools for Applications 2019

I would like to check for "Security advisories 20.2.1", it states for "CVE-2025-29803" that "If you have already installed SSMS 20.2 or an earlier version installed on your machine, you are not exposed to this…

SQL Server Database Engine
asked 2025-06-20T07:12:49.6633333+00:00
Pei zhen Poon1 0 Reputation points
answered 2025-06-20T09:11:45.6166667+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
2 answers

Msg 241, Level 16, State 1, Procedure dbo.AttendanceRecords, Line 118 [Batch Start Line 2] Conversion failed when converting date and/or time from character string.

USE [AttendanceManagementSystem] GO /****** Object: StoredProcedure [dbo].[usp_GenerateAttendanceRecord] Script Date: 19-06-2025 09:50:56 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE…

SQL Server Database Engine
asked 2025-06-19T04:22:56.5166667+00:00
Manishankar T S 60 Reputation points
answered 2025-06-19T21:01:42.5733333+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
0 answers

Missing files on SQL Server install (SQLServerManager1x.msc, etc)

I had installed SQL Server Eval (v.15) and SQL Server Express (v.16) and the SQL Server Configuration Manager appears to be missing. I have looked for SQLServerManager1x.msc (and all versions from 15 to 20) and I can't find it. looking in…

SQL Server Database Engine
asked 2025-06-19T13:33:45.2666667+00:00
Terry McPharlin 0 Reputation points
commented 2025-06-19T20:55:04.9866667+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
1 answer

In Visual Studio 2022, SSDT, SQL Project External Tables - Build Error!

Title: External Table Build Error in SSDT – SQL46010 near ')' but works in SSMS Hi, I’m working with Visual Studio 2022, SSDT, and SQL Server Projects, and I’m trying to create external tables in an Azure SQL Database. The external table creation works…

SQL Server Database Engine
asked 2025-06-18T17:25:26.11+00:00
Seven Hills 0 Reputation points
answered 2025-06-19T06:49:41.06+00:00
Olaf Helper 47,436 Reputation points
0 answers

Can't enlist target server for SQL Server Agent

TITLE: Microsoft.SqlServer.Smo MSX enlist failed for JobServer 'iris-wl-a301.tw01.ppanggu.com'. For help, click:…

SQL Server Database Engine
asked 2025-06-19T03:39:02.9066667+00:00
Jessica - 568Win 0 Reputation points
3 answers

How to install SQL Server Developer on a Snapdragon Laptop

I got a new Dell laptop that has a Snapdragon processor and am unable to install SQL Server. Is there a procedure for doing this? If the solution is emulation, then is there a procedure for setting up emulation too? Thanks

SQL Server Database Engine
asked 2025-06-17T21:19:04.1466667+00:00
Robert Watson 0 Reputation points
edited an answer 2025-06-18T22:20:05.12+00:00
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
1 answer

SQL Server Name

Hey, I cannot locate my SQL Server Name

SQL Server Database Engine
asked 2025-06-18T16:50:02.1933333+00:00
Bryant, Kiana (NBT) 0 Reputation points
answered 2025-06-18T20:38:35.6066667+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
0 answers

How to delete SQL server in Registry or Cache

So, for almost 2 days I am breaking my head why these entries are not been deleted despite I did it multiple times. Could someone help me out and fix this real quick? PS C:\WINDOWS\system32> Get-WmiObject -Class Win32_Product | Where-Object {…

SQL Server Database Engine
asked 2025-06-17T19:35:14.24+00:00
Nithish Kumar 0 Reputation points
commented 2025-06-18T06:24:45.1733333+00:00
Nithish Kumar 0 Reputation points
1 answer

Transaction log backup fails randomly in SQL Server 2019

Running SQL Server 2019 on Windows Server 2022, with full backups scheduled every Sunday night, incremental backups nightly, and archive logs every 15 minutes. Several times a day, the transaction log backup fails with the following error during one…

SQL Server Database Engine
asked 2025-06-16T16:11:25.0833333+00:00
Lee Davis 0 Reputation points
answered 2025-06-16T21:28:29.7033333+00:00
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator