19,694 questions with SQL Server-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

MSSQL Cluster using Local disks of the Servers as Cluster Storage?

Dear Colleagues, Good day! We are setting up 2 Node MSSQL cluster. Unfortunately, we don't have shared storage. Only available local disks in each node. Is it possible to proceed with this setup of the MSSQL cluster? The goal is to have HA for our DB…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-21T11:33:49.32+00:00
JR Murillo 60 Reputation points
accepted 2024-12-23T01:42:31.8766667+00:00
JR Murillo 60 Reputation points
0 answers

Unable to Enable Microsoft Entra ID to SQL Server using Azure Arc

I was trying to enable the Microsoft Entra ID to an SQL Server in EC2 using the Azure Arc. I was able to successfully set it up to 5 servers but there is one server which gives me pain. I am able to setup the azure arc connections to that one server and…

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
456 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-10-24T12:18:25.4433333+00:00
Jowlin Simon 0 Reputation points
commented 2024-12-23T01:15:54.1366667+00:00
Rahul Podila 800 Reputation points Microsoft Vendor
2 answers

Excel pivot connected to SSAS tabular model locking up when filtered on record that no longer exists and also has another large filter

Hello, I found a potential "bug" or performance issue for a specific setup when referencing an analysis services cube via an Excel pivot table. The specific scenario is like the below: You have a pivot table referencing an analysis services…

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
466 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,044 questions
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,299 questions
asked 2024-12-18T19:59:10.02+00:00
Ted Rogers 0 Reputation points
commented 2024-12-23T01:04:11.75+00:00
Chandra Boorla 5,755 Reputation points Microsoft Vendor
1 answer

I have migrated my SQL database and web app to azure database and web app services successfully while running the domain the login page shows proper but when i am inserting data and clicking on submit it give error : Named Pipes Provider, error: 40

I have migrated my SQL database and web app to azure database and web app services successfully while running the domain the login page shows proper but when i am inserting data and clicking on submit it give Error: A network-related or instance-specific…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,086 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,020 questions
asked 2024-12-16T11:24:58.52+00:00
Ashraf Khan 20 Reputation points
answered 2024-12-22T22:05:14.0566667+00:00
Divyesh Govaerdhanan 155 Reputation points
2 answers

How to enable policy sql server in MS SQL ?

SQL Server not running because of "policy disabled" issue?how to fix it?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-07-10T01:47:26.49+00:00
Richard Kilantang 0 Reputation points
edited the question 2024-12-22T13:50:56.0733333+00:00
TP 100.9K Reputation points
1 answer

I cannot see restore option in azure studio in mac?

Hello everyone I am trying to restore a database in SQL server using Azure Data Store but I cannot see the Restore option in my Azure Data Store studio. I even tried "Enabled Preview Feature" option How can I fix it or is there other version…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
123 questions
asked 2024-12-21T18:51:06.77+00:00
Avinab Das 0 Reputation points
commented 2024-12-22T11:00:14.83+00:00
Erland Sommarskog 114.2K Reputation points MVP
2 answers

Azure SQL Import/Export

We have multiple databases within a single server sizing way above 100GB of data hosted in Azure. Normally we tend to restore the same production copy to our non-prod environments using SSMS .backpac method of export and import, however in bigger data…

Azure SQL Database
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,029 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-21T14:24:28.0433333+00:00
Chetan Prakash Saraswat 26 Reputation points
answered 2024-12-21T20:54:07.0166667+00:00
Sina Salam 14,161 Reputation points
2 answers

How to expand my db for more markets ?

Right now SQL server db is running in one region and right now we have enabled solution for one market, in future we need to roll out for more markets and need to run in multiple regions . When we enable more markets we will millions of records . can you…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-16T15:51:16.31+00:00
Siva 0 Reputation points
commented 2024-12-21T18:44:56.1866667+00:00
Erland Sommarskog 114.2K Reputation points MVP
1 answer

how to fix there was an error while checking the rules of sql server setup

I have been attempting to install SQL Server on Windows 10, 256GB with 8GB of RAM, but I am getting an error.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2023-06-24T10:56:33.53+00:00
Folakemi Victoria Sowunmi 30 Reputation points
commented 2024-12-21T08:54:17.7233333+00:00
Sujit Patil 0 Reputation points
1 answer

Is it valid to use nolock in 'System catalog views' and 'System dynamic management views'

and if it is valid does it mean that nolock is blocked when not used? I use trace 1200 to observe that there are some differences between using nolock and not using nolock, and some are not. Is there a uniform rule?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-20T03:32:55.6166667+00:00
博雄 胡 525 Reputation points
answered 2024-12-20T22:47:07.0633333+00:00
Erland Sommarskog 114.2K Reputation points MVP
1 answer

Unable to install SQL Server (setup.exe).

TITLE: Microsoft SQL Server 2022 Setup The following error has occurred: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-20T08:39:47.29+00:00
Akanksha Pandey 0 Reputation points
answered 2024-12-20T22:38:48.8233333+00:00
Erland Sommarskog 114.2K Reputation points MVP
0 answers

Where we can see 'SSMSInstallRoot' and 'ProductCode' for SSMS21 in Registry Editor

Hi Team, I need below details for SSMS21. Please let me know the exact path for same. Thanks.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-20T12:24:37.7633333+00:00
PRAVIN DHARAMMALI 0 Reputation points
commented 2024-12-20T22:35:10.0866667+00:00
Erland Sommarskog 114.2K Reputation points MVP
2 answers One of the answers was accepted by the question author.

slow query on large data

Hi there, --3billion rows of accumulated data over a period of time CREATE TABLE [dbo].[large_accumulation_table]( [amt] float(24) NULL, [lastdate] smalldatetime NULL, [type] [varchar](8) NULL, [doc1] [int] NULL, [line1] [smallint] NULL, [type1]…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,668 questions
asked 2024-12-19T18:50:52.5133333+00:00
RJ 186 Reputation points
commented 2024-12-20T22:31:25.0833333+00:00
Erland Sommarskog 114.2K Reputation points MVP
4 answers

Error when backup database SQL to sofs shared folder

BACKUP DATABASE testbackup TO DISK = N'\sofs01\SQL\1.bak' when i run this sql command, i have error: Location: mediaWrite.cpp:601 Expression: (m_pWriteBuffer->GetCurrentSize ()% GetBlockSize ()) == 0 SPID: 56 Process ID: 9276 Thread ID: …

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-17T11:38:30.9433333+00:00
Huynh Minh Ngon 0 Reputation points
commented 2024-12-20T22:17:14.2833333+00:00
Erland Sommarskog 114.2K Reputation points MVP
3 answers One of the answers was accepted by the question author.

SQL Server 2022 express download problem unable to install SQL Server. Exit code(Decimal): -2061893606

I'm trying to download SQL Server 2022 Express, but it's giving the following error. I checked the log and click the SystemConfigurationCheck_Report I received the warning shown in the image above. Is the download error caused by this? I had already…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-05-09T12:23:12.46+00:00
Mehmed Aras 25 Reputation points
commented 2024-12-20T21:56:05.1+00:00
Erland Sommarskog 114.2K Reputation points MVP
2 answers

Unable to debug Stored Procedure

I get the following error: Unable to start the Transact-SQL debugger, could not connect to the Database Engine instance. Make sure you have enabled the debugging firewall exceptions and are using a login that is a member of the sysadmin fixed server…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,011 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,874 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,668 questions
asked 2021-08-30T20:02:34.027+00:00
D D 6 Reputation points
commented 2024-12-20T21:52:52.7233333+00:00
Erland Sommarskog 114.2K Reputation points MVP
1 answer

SQL 2022 Express is supported by MS Break-Fix support ?Can we open up a MS case for this ?

SQL 2022 Express is supported by MS Break-Fix support ?Can we open up a MS case for this ?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
asked 2024-12-20T14:04:27.35+00:00
coolqwerty 21 Reputation points
answered 2024-12-20T21:09:25.2266667+00:00
Erland Sommarskog 114.2K Reputation points MVP
1 answer

SQL server with Trace flags 2371 and 7745

Hi Team, We are migrating the SQL server databases to Azure managed instance . The DMA reported that 2371 and 7745 trace flags enabled on SQL instance. i think 2371 and 7745 trace flages auto enabled on Managed instance. Please let me know if changes…

Azure Database Migration service
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
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.
543 questions
Azure Database Migration service
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
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.
543 questions
asked 2024-12-20T10:18:09.9266667+00:00
Sanjeev K 20 Reputation points
answered 2024-12-20T20:03:50.1166667+00:00
Mahesh Kurva 1,470 Reputation points Microsoft Vendor
1 answer

SQL server with Trace flags 2371 and 7745

Hi Team, We are migrating the SQL server databases to Azure managed instance . The DMA reported that 2371 and 7745 trace flags enabled on SQL instance. i think 2371 and 7745 trace flages auto enabled on Managed instance. Please let me know if changes…

Azure Database Migration service
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
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.
543 questions
Azure Database Migration service
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
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.
543 questions
asked 2024-12-20T10:18:09.9266667+00:00
Sanjeev K 20 Reputation points
answered 2024-12-20T20:03:50.1166667+00:00
Mahesh Kurva 1,470 Reputation points Microsoft Vendor
2 answers

How to get the current row value based on previous row value in sql server- ex first row has value, calculate the second row value using first row and some conditions and 3rd using 2nd row and same conditions

when basin <> prebasin, numberinbasinnew=numberinbasin. when basin=prebasin use the numberinbasinnew from the first row (basin<>prebasin) and calculate the second row value for numberinbasinnew based on below conditions -- CASE …

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,207 questions
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
107 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,668 questions
asked 2024-12-19T11:36:41.54+00:00
roopa g 0 Reputation points
edited an answer 2024-12-20T19:58:47.34+00:00
Viorel 118.6K Reputation points