21,698 questions with SQL Server-related tags

Sort by: Updated
2 answers

SQL Server 2019 Table lock and wont unlock until restarting database

We are running Microsoft SQL Server 2019 (RTM-CU32-GDR) and a specific database table seems to lock and never unlocks. It also locks all associated tables. The only way to get the database to respond is wait for it to restart or restart the entire SQL…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-23T20:24:48.01+00:00
JB 0 Reputation points
answered 2026-07-23T22:33:02.6766667+00:00
Bruce (SqlWork.com) 84,671 Reputation points
5 answers

Can we get the T-SQL debugger back?

How can I browbeat Microsoft to re-enable the debugger in SSMS? I tried using SSDT in Visual Studio 2022, and it was absurd ... I had to spend fifteen minutes creating a new project, importing the database, etc. only to be told, when I started trying to…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2023-05-05T16:09:00.65+00:00
Anonymous
commented 2026-07-23T22:02:16.91+00:00
Paul 0 Reputation points
0 answers

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
asked 2026-07-23T11:50:51.2733333+00:00
Chaitanya Kiran 841 Reputation points
commented 2026-07-23T12:41:21.2633333+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
2 answers

Licensing Query: Downgrade Rights clarity on Active SQL Server Subscription purchased via CSP

Hi, I have been trying to get something official reference that explicitly confirms the Downgrade Rights for CSP Subscriptions, specifically as an example: Active subscription purchased via CSP for 'SQL Server Standard 2022 - 2 core license pack - 1…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2025-11-12T22:38:13.79+00:00
Prakash Gurung 0 Reputation points
commented 2026-07-23T09:47:56.06+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
2 answers

Sequel Server Reporting Services - are there any wildcard characters that you can use in the filter fields?

In the Sequel Server Reporting Services, are there any wildcard characters that you can use in the filter fields such as a customer name field?

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-22T22:05:32.58+00:00
BRYANT, Ray 0 Reputation points
commented 2026-07-23T08:51:58.25+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
0 answers

sp_addlinkedsrvlogin with @rmtpassword fails with Msg 7455 after upgrade SQL Server 2022 to 2025

Our product need to create Linked Servers in SQL Server to achieve our function, it works well in SQL Server 2022, but after upgrading to SQL Server 2025, it's always broken, we analyzed and tested with different case, it only broken when calling…

SQL Server Database Engine
asked 2026-07-23T02:24:42.98+00:00
Bin Wang 0 Reputation points
commented 2026-07-23T08:46:50.4633333+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
0 answers

SQL Server 2019 Express installation fails on Windows 11 with SQLWriter service and Windows Installer DLL errors

I am trying to install Microsoft SQL Server 2019 Express on Windows 11 (64-bit). The installation fails with the following errors: Service 'SQL Server VSS Writer' (SQLWriter) failed to start. Verify that you have sufficient privileges to start system…

SQL Server Database Engine
asked 2026-07-23T08:25:34.99+00:00
sagar miroliya 0 Reputation points
commented 2026-07-23T08:34:22.15+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
2 answers

SQL 2022 Express Replication with error

The error says "The process could not connect to Publisher"

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-16T19:01:05.7966667+00:00
Mcgoldrick, Dennis 0 Reputation points
edited an answer 2026-07-23T05:30:22.48+00:00
Deepesh Dhake 735 Reputation points
2 answers

Database for training

Hello, I want to train for data analytics projects w/o AI, does Microsoft provide real databases to work on?

SQL Server Analysis Services
SQL Server Analysis Services

A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.

1,374 questions
asked 2026-07-22T17:29:03.31+00:00
Iva razmadze 0 Reputation points
answered 2026-07-22T21:05:45.2033333+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
0 answers

Please advise if the system is down or if there are any reporting of an issue. I am getting this error message below-

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.

3,172 questions
asked 2026-07-22T16:39:21.64+00:00
Mary Her 0 Reputation points
edited the question 2026-07-22T17:02:45.5033333+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
1 answer

Need to request a report from a Small Package customer that is requesting the Entry Summary from past shipments

Hi, I need to know if in SSRS, I can generate a report of the Entre Summary from a Small Package Customer.. See below the type of Image Im looking for.. Could you guide me, on wich report should I select ?

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-22T16:32:14.2566667+00:00
Alonso Sanchez 0 Reputation points
answered 2026-07-22T16:47:43.08+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
0 answers

SQL Server Migration Assistant (SSMA) for DB2 v10.5 - crash with "Exception: Win32 handle that was passed to Icon is not valid or is the wrong type."

SQL Server Migration Assistant for DB2 crash. See attached log file.

SQL Server Migration Assistant
SQL Server Migration Assistant

A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.

608 questions
asked 2026-07-21T23:42:45.46+00:00
Stephen Landess 0 Reputation points
commented 2026-07-22T16:41:01.87+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

clone a report

Can I clone a report in ssrs? Need to make a copy of a report where both reports will change when a report is uploaded.

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.

3,172 questions
asked 2026-07-21T19:07:52.6466667+00:00
Dimon, Lisa 20 Reputation points
accepted 2026-07-22T16:14:17.76+00:00
Dimon, Lisa 20 Reputation points
2 answers

SQL Server Management Studio Connection Issue

I can't establish a connection to SQL Server. I likely need IT Support but am unable to find that support. If you can help me connect, please respond. If all you can do is direct me to a support that can assist me.

SQL Server Database Engine
asked 2026-07-22T00:06:58.4233333+00:00
Mark Willcoxon 0 Reputation points
answered 2026-07-22T15:56:04.03+00:00
Bruce (SqlWork.com) 84,671 Reputation points
asked 2026-07-22T03:39:21.2666667+00:00
Gabkotech 0 Reputation points
commented 2026-07-22T07:24:43.0166667+00:00
Senthil kumar 1,725 Reputation points
2 answers

Cannot Deploy SSIS project. Error: Could not load type Microsoft.Internal.VisualStudio.Shell.Interop.IVsCustomTelemetryService from assembly Microsoft.Internal.VisualStudio.Interop PublicKey

I get this error trying to deploy a package after installing VS2026 March 2026 release Version 18.4.2. All though it does deploy the error pops up after every step during deployment. I tried a repair, I tried removing the ComponentModelCache folder and…

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,801 questions
asked 2026-03-27T13:39:52.1333333+00:00
Barr, David 15 Reputation points
commented 2026-07-21T17:09:14.3966667+00:00
BSH 0 Reputation points
2 answers

How to install SQL server to my windows 11, Error occurs while I installing

How to install SQL server to my windows 11, Error occurs while I installing Overall summary: Final result: Failed: see details below Exit code (Decimal): -2061893607 Start time: 2024-08-29 16:55:33 …

Windows for business | Windows Client for IT Pros | User experience | Other
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2024-08-29T11:58:18.1533333+00:00
JAYAKUMAR AJ 21 Reputation points
edited an answer 2026-07-21T10:57:22.8766667+00:00
dilovan Ali 0 Reputation points
1 answer One of the answers was accepted by the question author.

Restore backup in parallel to primary and secondary of availability group with manual seeding

I have SQL Server availability group with manual seeding and two synchronous replicas - primary and secondary. I want to onboard a set of database backups onto the availability group : 1 full backup + 1 transaction log backup. Backups are large, so I…

SQL Server Database Engine
asked 2026-07-17T13:47:06.5466667+00:00
dekp 20 Reputation points
accepted 2026-07-21T08:52:45.73+00:00
dekp 20 Reputation points
2 answers

sqlcmd not recognized - inspite of the fact installed with "winget install sqlcmd

Hi, I have an issue running sqlcmd on a win 10 box. I followed instructions at https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/tools/sqlcmd/sqlcmd-download-install.md I get success message as follows I do a ce to "C:\Program…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-20T13:17:56.6466667+00:00
Salam ELIAS 302 Reputation points
commented 2026-07-20T20:09:58.7766667+00:00
Salam ELIAS 302 Reputation points
2 answers

if i install sql server 2022 64 bit, will it install and register 32 wmi provider

SQL Server's Configuration Manager WMI provider (sqlmgmprovider.dll): has been a 32-bit-only component. so my ask is if the sql server 2022 64 bit contains 32 wmi provider install and register.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,778 questions
asked 2026-07-20T13:00:56.6866667+00:00
Kopilovitz, Chani (CW) 0 Reputation points
answered 2026-07-20T13:23:01.41+00:00
Erland Sommarskog 135.7K Reputation points MVP Volunteer Moderator