20,592 questions with SQL Server-related tags

Sort by: Updated
0 answers

Error Exit code (Decimal): -2064908287 when installing Microsoft SQL Server Developer 2022

Hi there, community! I'm just a guy who wants to become a Business Analyst. I was recomended to learn SQL on my own and, I decided to give a try to Microsoft SQL server. However, when I try to install the program, I'm getting this error. I have…

SQL Server Database Engine
asked 2025-07-12T19:15:38.3666667+00:00
David Cabezas Sánchez 0 Reputation points
commented 2025-07-12T22:19:03.5633333+00:00
David Cabezas Sánchez 0 Reputation points
2 answers One of the answers was accepted by the question author.

is allocated memory taken from Virtual memory reserved or its different.

if you see the screenshot , the buffle pool memory clerk, the allocated memory, Virtual memory reserved and virtual memory committed. I am confused if the allocated memory taken from virtual memory, or allocated memory is taken from OS and Virtual memory…

SQL Server Database Engine
asked 2025-07-10T06:32:35.12+00:00
SQLDBA 0 Reputation points
accepted 2025-07-12T15:03:46.1266667+00:00
SQLDBA 0 Reputation points
2 answers

Latest security update has caused SS debugger to fail... 2008 r2 windows 10 - Windows Firewall

Getting: The WIndows Firewall on this machine is currently blocking remote debugging. RD requires... TCP Port 135... UDP 4500/ 500 be unblocked. Can't Cancel, Unlock for local or Unlock for Computer. Trying to "Debug>Start Debugging".

SQL Server | SQL Server Transact-SQL
asked 2025-07-12T01:50:50.6933333+00:00
M Douglas Martin 0 Reputation points
answered 2025-07-12T12:28:07.82+00:00
Obinna Ejidike 2,300 Reputation points
3 answers

SSIS Package Execution Error - The requested OLE DB provider Microsoft.ACE.OLEDB.16.0 is not registered

Hello Community, I have been getting this error message every time I run my saved SSIS package. And even though I have looked up this error message across the web, the solutions have not seemed to work. To provide the background information with the…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,705 questions
asked 2025-06-24T18:20:55.04+00:00
Ryan 6 Reputation points
commented 2025-07-11T22:32:29.45+00:00
Ryan 6 Reputation points
1 answer

need a query for a match 2

Hi all, I have these two tables: T1 Date Item Qty 2025-07-01 100 10 2025-07-01 101 20 2025-07-01 102 20 2025-07-01 105 30 2025-07-02 100 30 2025-07-03 200 20 2025-07-03 201 25 2025-07-03 202 40 2025-07-04 200 30 and T2 Date …

SQL Server | SQL Server Transact-SQL
asked 2025-07-11T18:10:16.52+00:00
elsvieta 396 Reputation points
answered 2025-07-11T20:14:54.9+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

need a query to do a match

Hi all, I have these two tables: T1 Date Item Qty 2025-07-01 100 10 2025-07-01 101 20 2025-07-02 100 30 2025-07-03 200 20 2025-07-04 200 30 and T2 Date Item …

SQL Server | SQL Server Transact-SQL
asked 2025-07-09T15:21:43.62+00:00
elsvieta 396 Reputation points
commented 2025-07-11T17:43:53.7433333+00:00
elsvieta 396 Reputation points
0 answers

Microsoft Entra ID not working in SQL Server VSCode

Whenever I try to use my Microsoft Entra ID on the SQL Server extension in VSCode, I click 'Sign in', which takes me to the authentication page in my browser where I sign in. I get the page that says I am signed in and can close the browser, but the…

SQL Server Database Engine
asked 2025-07-11T17:39:09.76+00:00
Carlos Casellas Garza 0 Reputation points
2 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
answered 2025-07-11T17:23:07.54+00:00
Bruce (SqlWork.com) 78,236 Reputation points Volunteer Moderator
1 answer

"How can I install SQL Server Express Edition? I am getting an error with the decimal code 2061893606."

This is the error message its is getting when i am trying to install. I tried to screenshot the error but not working in my case.😁 Oops... Unable to install SQL Server (Setup.exe) Exit code (Decimal) : 2061893606 Error Description: Wait on the database…

SQL Server Database Engine
asked 2025-07-11T13:56:04.8766667+00:00
Lokesh Kumar Sundarasetty 0 Reputation points
answered 2025-07-11T15:22:26.5933333+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

When will SQL Server Management Studio (21) support ARM64-based PCs?

I have the MS Surface ARM64-based PC with a Snapdragon CPU and need to know when there will be a release of Microsoft SQL Server Management Studio 21 or later that supports this architecture. This is the management studio and not the SQL Server.

SQL Server | Other
asked 2025-06-28T01:27:15.1533333+00:00
psdehr 40 Reputation points
commented 2025-07-11T13:59:57.1033333+00:00
Justin Smith 0 Reputation points
0 answers

ReportViewer WebForms breaks when certain cultures are used in reports with datetime filtering

We've recently upgraded from standalone Report Viewer 2015 runtime to the NuGet package in our ASP.NET webapp (.NET Framework 4.7.2): https://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WebForms/ The issue is that using…

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,066 questions
asked 2025-07-08T12:42:00.13+00:00
MrG 0 Reputation points
edited the question 2025-07-11T13:33:47.2933333+00:00
MrG 0 Reputation points
0 answers

Azure SQL showing message 8152 instead of 2628

We have a strange insert 8152 error. The full insert SQL is failing. We have identified which fields are causing the error. Excluding those works but inserting those fields alone without other fields also work! And we are not getting the 2628 message.…

SQL Server Database Engine
asked 2025-04-01T14:40:07.4666667+00:00
Jimmy Liu 0 Reputation points
commented 2025-07-11T10:18:17.88+00:00
Jimmy Liu 0 Reputation points
1 answer One of the answers was accepted by the question author.

SQL Server saved remote password on linked server randomly becomes invalid

I have a 2019 SQL Server with a single instance on it. It has a linked server that tests out and works fine. However, the stored remote password randomly (daily to every few days) becomes invalid, and I have to reenter the password to get it to work…

SQL Server | Other
asked 2025-07-09T13:38:31.0166667+00:00
bukkybu 386 Reputation points
commented 2025-07-10T21:13:37.6333333+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
6 answers

How to download Sql Server Configuration Manager

Hello, BRAND NEW to SQL Server. I was following along with a tutorial and downloaded the SSMS, however, doesn't seem like i have the configuration manager installed properly. I tried entering the credentials first prompted once SSMS was done…

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,066 questions
SQL Server | Other
asked 2022-09-25T07:02:10.793+00:00
Zach Hadjah 26 Reputation points
commented 2025-07-10T09:38:56.26+00:00
Fábio Nobre 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 25 Reputation points
commented 2025-07-10T07:48:17.9733333+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Replication ISSUE - how to prevent error MSSQL_REPL-2147199363. after it happens, recreate publish and configure all suscriptors is necessary.

HI ALL, help please. currently we have our main database and many subscriptors, when some of the subscriptors are offline form some days (maintenance or politics company pourposes doesnt matter), and getting online again, we are facing some issues…

SQL Server | Other
asked 2023-04-19T21:14:32.78+00:00
Oscar Carrillo Razón 20 Reputation points
accepted 2025-07-10T03:09:02.8433333+00:00
Oscar Carrillo Razón 20 Reputation points
1 answer

I am unable to install the sql express server 2022.

SQL Server Database Engine
asked 2025-07-09T15:31:45.06+00:00
Patel, Neck 0 Reputation points
answered 2025-07-09T21:42:27.8633333+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
1 answer

We need to migrate a TDE-encrypted database from one Azure SQL Managed Instance to another Azure SQL Managed Instance. The standard TDE certificate export process (BACKUP CERTIFICATE) doesn't work on Managed Instance. Is there any supported method to expo

We need to migrate a TDE-encrypted database from one Azure SQL Managed Instance to another Azure SQL Managed Instance. The standard TDE certificate export process (BACKUP CERTIFICATE) doesn't work on Managed Instance. Is there any supported method to…

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.
569 questions
asked 2025-07-09T18:33:45.5233333+00:00
Vansh Jain 0 Reputation points
answered 2025-07-09T21:41:48.59+00:00
Erland Sommarskog 122K Reputation points MVP Volunteer Moderator
2 answers One of the answers was accepted by the question author.

Getting this error: Msg 3609, Level 16, State 1, Line 88 The transaction ended in the trigger. The batch has been aborted.

So I'm trying an exercise Trigger Code that would send an email if someone tries to insert into the adventure database a special offer that is equal to or greater than 80%, My Code goes Like this: ----------------------- The…

Developer technologies | Transact-SQL
SQL Server | Other
asked 2021-12-11T12:01:56.03+00:00
salma dodin 96 Reputation points
commented 2025-07-09T16:47:40.3333333+00:00
Niarchos Ioannis 0 Reputation points
3 answers One of the answers was accepted by the question author.

Export Query Results as CSV WITH Headers

I just need to get my query results out to a CSV file WITH Headers quickly (without going through the whole SSIS process for a one-off job). I thought the option below would do the trick, but I get a CSV WITHOUT Headers. Advice?

SQL Server | Other
asked 2023-03-28T21:32:41.3666667+00:00
Dom 941 Reputation points
commented 2025-07-09T16:00:10.55+00:00
Doug Anderson 0 Reputation points