21,465 questions with SQL Server-related tags

Sort by: Updated
2 answers

Integration with SSO login on-premises (non-fabric and non-cloud) PowerBI Reporting Server

Hi, We need to understand the standard integration process of integration SSO login (with PowerBI Reporting Server) wherein the flow is following : FSSO login happens and a SAML token is generated by the service provider. Using above SAML token, we…

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,143 questions
asked 2026-03-02T09:59:16.6233333+00:00
Samir Modi 0 Reputation points
commented 2026-03-13T15:30:08.8866667+00:00
Lakshmi Narayana Garikapati 920 Reputation points Microsoft External Staff Moderator
2 answers

error 26 trying to connect to my local server

Cannot connect to xxx.xxx.xxx.xxx\SQLEXPRESS. ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is…

SQL Server | Other
asked 2026-03-06T18:06:48.76+00:00
Chau Nguyen (CELA) 0 Reputation points Microsoft Employee
commented 2026-03-13T15:25:18.61+00:00
Lakshmi Narayana Garikapati 920 Reputation points Microsoft External Staff Moderator
2 answers

How to identify different compressions

Hi, ALL, This - https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-partitions-transact-sql?view=sql-server-ver17 indicates that there is only 1 record for both XML and regular partition compression. My question would be -…

SQL Server Database Engine
asked 2026-03-06T06:53:26.0633333+00:00
Igor Korot 56 Reputation points
commented 2026-03-13T15:24:00.12+00:00
Lakshmi Narayana Garikapati 920 Reputation points Microsoft External Staff Moderator
1 answer

SQL Server Object Explorer closes immediately in Visual Studio – Error 0x8007007B and SQL Server Express installation fails

Details: I am experiencing an issue with Visual Studio where I cannot create or manage databases. When I open Visual Studio and go to View → SQL Server Object Explorer, a popup window briefly appears and then immediately closes again. This keeps…

SQL Server Database Engine
asked 2026-03-05T20:16:13.1566667+00:00
Søren Dyrbye 0 Reputation points
commented 2026-03-13T15:22:35.6833333+00:00
Lakshmi Narayana Garikapati 920 Reputation points Microsoft External Staff Moderator
1 answer

How to reset Local Database

My computer is saying local data base must be reset

SQL Server Database Engine
asked 2026-03-13T14:59:56.87+00:00
StorTropolis - Tiffany Springs 0 Reputation points
answered 2026-03-13T15:00:09.02+00:00
Q&A Assist
1 answer One of the answers was accepted by the question author.

Best, Most Efficient DATETIME filtering

I have seen many discussions regarding doing filtering against a DATETIME Data Type. Some suggest to use a true DATTETIME format. WHERE <DATETIME_Column_Name> >= '2026-02-17 00:00:00.000' Others suggest to use just a quoted Date... WHERE…

SQL Server | SQL Server Transact-SQL
asked 2026-03-13T14:16:26.6766667+00:00
Bobby P 251 Reputation points
accepted 2026-03-13T14:23:05.8766667+00:00
Bobby P 251 Reputation points
2 answers

SQL Server 2025 LocalDb installation is missing components

According to https://learn.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2025 - "SQL Server Express LocalDB is a lightweight version of Express edition that has all its programmability features" Therefore I would…

SQL Server Database Engine
asked 2025-12-09T15:15:18.17+00:00
Duncan Smart 0 Reputation points
commented 2026-03-13T13:34:39.3433333+00:00
Erland Sommarskog 133.2K Reputation points MVP Volunteer Moderator
2 answers

TSQL query to dynamically extract data from a json object using OPENJSON in SQL

Hi everyone. I need help with writing a TSQL query that will dynamically extract data from a JSON object using OPENJSON. I need the query to be able to work on both simple and nested json object. Thanks in advance.

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,715 questions
SQL Server | Other
asked 2021-11-25T04:33:27.25+00:00
Thelma Obirieze 66 Reputation points
edited an answer 2026-03-13T13:27:50.87+00:00
Thelma Obirieze 66 Reputation points
1 answer One of the answers was accepted by the question author.

Please provide KB2000257

I would like to read the KB2000257 article. SQL Server Express 2022 is failing per the 3 local security policies error BUT the 3 policies are all set correctly! The failure is immediate and NO LOGS are produced yet.

SQL Server | Other
asked 2026-03-12T16:18:45.61+00:00
Phelan, Susan - FARMINGTON CT 0 Reputation points
accepted 2026-03-13T13:10:36.4933333+00:00
Phelan, Susan - FARMINGTON CT 0 Reputation points
2 answers

SQL Agent Job failing with Error 8152 (String or binary data would be truncated) during Replication/Distribution

Hi everyone, I am encountering a persistent failure in a SQL Server Agent Job that appears to be related to a Replication Distribution Agent. The Error: The job fails at Step 1 (Distribution Agent startup) or Step 3 (Detect nonlogged agent shutdown) with…

SQL Server | Other
asked 2026-03-12T19:52:40.2633333+00:00
Ramya 0 Reputation points
answered 2026-03-12T22:11:33.0133333+00:00
Erland Sommarskog 133.2K Reputation points MVP Volunteer Moderator
2 answers One of the answers was accepted by the question author.

How to create initial full backup followed by transaction logs daily?

This is related to work. I have been sending out a full-back up of a database in BAK file format (using SQL Server 2022) for a client, but now the client is asking for an initial full backup followed by transaction logs daily. How do I go about doing it…

SQL Server | SQL Server Transact-SQL
asked 2026-01-30T18:06:58.63+00:00
Justin Doh 980 Reputation points
commented 2026-03-12T22:01:04.1566667+00:00
Erland Sommarskog 133.2K Reputation points MVP Volunteer Moderator
2 answers

SSAS 2019 - Tabular Process Hanging / Deadlocking

Hello everyone, We have a SSAS 2019 CU16 hosting a very small tabular model, about 20-25 tables and only a couple MB in size. As expected the processing time is fairly short, only 2-3 seconds so we currently have an SQL Agent job (on a remote…

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,368 questions
asked 2022-08-17T12:30:07.243+00:00
JML 16 Reputation points
commented 2026-03-12T15:50:18.14+00:00
Mathieu Daigle 0 Reputation points
2 answers One of the answers was accepted by the question author.

Enabling RCSI and ADR on SSISDB and ReportServer

We're considering enabling two database-level settings on SSISDB and ReportServer: READ_COMMITTED_SNAPSHOT (is_read_committed_snapshot_on = 1) — reduces blocking by using row versioning instead of shared locks ACCELERATED_DATABASE_RECOVERY…

SQL Server Integration Services
SQL Server Integration Services

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

2,778 questions
asked 2026-02-24T22:16:48.07+00:00
Louis Davidson 41 Reputation points
accepted 2026-03-12T14:11:56.5433333+00:00
Louis Davidson 41 Reputation points
1 answer

When following SSIS Tutorial on microsoft learn I receive a data type error

I have following the Microsoft Learn SSIS tutorial and am currently on https://learn.microsoft.com/en-us/sql/integration-services/lesson-1-6-adding-and-configuring-the-lookup-transformations?view=sql-server-ver16 , trying to follow the below step: My…

SQL Server Integration Services
SQL Server Integration Services

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

2,778 questions
SQL Server | Other
asked 2024-07-31T10:19:36.55+00:00
Adam 0 Reputation points
commented 2026-03-12T14:07:44.4033333+00:00
Peter Schellhardt 0 Reputation points
2 answers

Sequel server licensing

My distributer is telling me that SQL Server Standard 2022 - 2 Core License Pack - 3 yearSQL Server Standard 2022 - 2 Core License Pack - 3 year billed annually is a perpetual license? I have query with this as it has a termed subscription time?…

SQL Server | SQL Server Transact-SQL
asked 2026-03-02T03:07:55.3166667+00:00
Esther Cleave 0 Reputation points
answered 2026-03-12T10:04:27.2266667+00:00
Akhil Gajavelly 1,570 Reputation points Microsoft External Staff Moderator
2 answers

ACE.OLEDB.12.0 provider is not registered on the local machine

Hello, We have a client that tried to import an excel using the import and export wizard and he recceived the following error:     The operation could not be completed. Additional information:      The 'Microsoft.ACE.OLEDB.12.0' provider is not…

SQL Server Database Engine
asked 2026-03-04T07:35:23.9466667+00:00
Admin Team TGS 0 Reputation points
commented 2026-03-12T07:25:46.3966667+00:00
Nithin Krishna Madadi 0 Reputation points Microsoft External Staff Moderator
1 answer
asked 2026-03-01T13:22:19.06+00:00
波 蔡陈 0 Reputation points
commented 2026-03-12T06:43:57.9033333+00:00
Akhil Gajavelly 1,570 Reputation points Microsoft External Staff Moderator
1 answer

How to fix SQL Server installation error and run successfully

I have repeatedly install Microsoft SQL 2025, though it show that the server is running but I have been unable to connect as I keep having error message; see below - TITLE: Error The client was unable to establish a connection because of an error during…

SQL Server | Other
asked 2026-03-10T23:13:31.24+00:00
Gregory Mwenketishi 0 Reputation points
commented 2026-03-11T21:41:40.93+00:00
Erland Sommarskog 133.2K Reputation points MVP Volunteer Moderator
4 answers One of the answers was accepted by the question author.

Can a SQLServer 2016 AG with one database be setup with two separate Managed Instance Links?

I’m planning a migration of a SQL Server 2016 Always On AG with a single 4TB database to Azure SQL Managed Instance. We already have one MI acting as a read‑replica for reporting and analytics. As part of the migration, I’m considering deploying a second…

SQL Server | Other
asked 2026-02-13T20:22:46.6633333+00:00
Abimbola Adeniran 106 Reputation points
accepted 2026-03-11T13:13:30.2233333+00:00
Abimbola Adeniran 106 Reputation points
1 answer

Install Component Package on Visual Studio Installer 22

Hi expert, I need install SSMS 22 by offline with input this command vs_SSMS.exe --layout C:\SSMS_Layout --all.. but this command install ALL PACKAGES Component I only need component package of Management Studio 22 anyone know the Packages Component…

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.

604 questions
asked 2026-02-23T06:09:43.0066667+00:00
Urbel 465 Reputation points
edited a comment 2026-03-11T10:15:32+00:00
Akhil Gajavelly 1,570 Reputation points Microsoft External Staff Moderator