19,075 questions with SQL Server-related tags

Sort by: Updated
0 answers

Azue Arc SqlAgent Extension Status Failed or stuck as Creating

Many of the Azure Arc Enabled SQL Servers were no longer reporting SQL BPA as being enabled. After some investigation I found that all the servers with issues had the SqlAgent Extension with a Status of failed. I would like to know how that could have…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-17T01:27:08.17+00:00
Sean I 0 Reputation points
edited the question 2024-09-17T01:42:04.7133333+00:00
Pavan Minukuri 5 Reputation points Microsoft Vendor
0 answers

Azure SQL database restore to Synapse

we need to do restore sql server database from restore point to dedicated sql pool on synapse on same resource group we are trying to do restore azure sql server db on same restore group where we have synapse but it ends up with error ERROR1.JPG Command…

Azure SQL Database
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,863 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.
13,677 questions
asked 2024-09-11T14:01:57.8966667+00:00
Andrea Galardi 0 Reputation points
edited a comment 2024-09-17T00:36:02.67+00:00
Mahesh Kurva 0 Reputation points Microsoft Vendor
1 answer

Using IDENTITY_INSERT with FK_ChildTable_ParentTable?

Hello, Wrapping SaveChanges with ON and OFF works fine with individual tables. But not in case of a parent-child relationship where a foreign key exists. Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert explicit value for identity column…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
734 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,519 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.
13,677 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,848 questions
asked 2024-09-16T22:33:43.8366667+00:00
Joyce 80 Reputation points
answered 2024-09-16T23:00:10.6933333+00:00
Michael Taylor 53,816 Reputation points
3 answers One of the answers was accepted by the question author.

Queries in the same window for multiple databases, servers, and tables

I was wondering in SSMS in the query window could I write multiple queries that use different servers, databases, and tables? A compounded question and answer I am expecting 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.
13,677 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,706 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.
92 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,625 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.
13,677 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,706 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.
92 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,625 questions
asked 2024-09-16T13:02:52.5733333+00:00
Jonathan Brotto 380 Reputation points
answered 2024-09-16T21:45:55.07+00:00
Erland Sommarskog 110.4K Reputation points MVP
3 answers One of the answers was accepted by the question author.

Queries in the same window for multiple databases, servers, and tables

I was wondering in SSMS in the query window could I write multiple queries that use different servers, databases, and tables? A compounded question and answer I am expecting 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.
13,677 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,706 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.
92 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,625 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.
13,677 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,706 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.
92 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,625 questions
asked 2024-09-16T13:02:52.5733333+00:00
Jonathan Brotto 380 Reputation points
answered 2024-09-16T21:45:55.07+00:00
Erland Sommarskog 110.4K Reputation points MVP
0 answers

Best way to migrate SQL2017 nonclustered ReadScale to a true WSFC AOAG

We have a SQL2017 Enterprise Edition server that was setup without clustering with a Read Scale AG copy of DB's to another server. What is the best way to convert this to a true HA Availability Group with WSFC primary and secondary replicas? At 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.
13,677 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
992 questions
asked 2024-09-16T20:14:57.4933333+00:00
Jac Thiessen 0 Reputation points
commented 2024-09-16T21:38:31.48+00:00
Erland Sommarskog 110.4K Reputation points MVP
2 answers

SQL 2022 Timeout issues

We recently migrated our databases from SQL Server 2014 to SQL Server 2022 and have noticed sudden timeout issues occurring in the application, specifically with stored procedures containing SELECT queries in the SQL 2022 database. These timeouts are…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-12T06:13:58.0366667+00:00
MOHAMMED ILYAS 0 Reputation points
commented 2024-09-16T21:33:57.52+00:00
Erland Sommarskog 110.4K Reputation points MVP
2 answers

OAuth Authentication Fails for Azure SQL Server - Login Error for User

Description: I am trying to implement OAuth authentication for an Azure SQL Server database using the Go (go-mssqldb) driver. I have successfully retrieved the access token using the following credentials: Client ID Client Secret Tenant ID However,…

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.
13,677 questions
asked 2024-09-12T08:06:04.16+00:00
Rohini Prabhakar Gohate 0 Reputation points
commented 2024-09-16T21:20:33.1666667+00:00
Erland Sommarskog 110.4K Reputation points MVP
1 answer

Performance degraded under 2000 records in SQL Server 2022 compare to SQL Server 2019

Hi, I have observed that bulk delete operation is having poor performance SQL Server 2022 SQL Server 2019 Number of records - array:10000000 Operation - DELETE Operation Delete Operation taken time is : 34703 ms SQL Server 2022 Number of records -…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-13T13:10:00.5833333+00:00
Badhe, Ganesh 60 Reputation points
commented 2024-09-16T20:39:28.4066667+00:00
Erland Sommarskog 110.4K Reputation points MVP
1 answer

I got an error that I cannot connect to SQL while demoing olap.Help me repair this error,please.

I got an error that I cannot connect to SQL while demoing olap. I cannot connect to SQL and it asks me to enter "user id" and "password"

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
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.
2,913 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,564 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,276 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.
13,677 questions
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.
2,913 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,564 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,276 questions
asked 2024-09-14T09:11:58.3833333+00:00
võ thị tuyết ngân 20 Reputation points
commented 2024-09-16T20:27:20.2833333+00:00
Erland Sommarskog 110.4K Reputation points MVP
1 answer

I got an error that I cannot connect to SQL while demoing olap.Help me repair this error,please.

I got an error that I cannot connect to SQL while demoing olap. I cannot connect to SQL and it asks me to enter "user id" and "password"

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
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.
2,913 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,564 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,276 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.
13,677 questions
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.
2,913 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,564 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,276 questions
asked 2024-09-14T09:11:58.3833333+00:00
võ thị tuyết ngân 20 Reputation points
commented 2024-09-16T20:27:20.2833333+00:00
Erland Sommarskog 110.4K Reputation points MVP
0 answers

Failover for secondary read-only endpoint in SQL failover group

Usecase My team has a SQL failover group set up where we use primary region for read-write workloads. We use secondary region to serve read only workloads. I am exploring options for ensuring data availability when secondary server/region is down. …

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.
13,677 questions
asked 2024-09-16T19:03:20.43+00:00
Devanshi Patel 0 Reputation points Microsoft Employee
edited the question 2024-09-16T19:05:28.3066667+00:00
Devanshi Patel 0 Reputation points Microsoft Employee
0 answers

Cannot Migrate Database

Hello all, I am having issue updating the migration of my database. I am currently using .NET 9.0. I have modified one of my files to include the following: protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.UpdateData( …

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-16T16:17:42.4466667+00:00
PocketPixie 1 Reputation point
commented 2024-09-16T16:31:25.0966667+00:00
Olaf Helper 44,301 Reputation points
1 answer

What are best security best practices to connect AKS with SQL Server?

Hi, I have an AKS cluster on Azure and one of the pod is connecting to the SQL server, the SQL server is also being consumed by a function app. I dont want my SQL server to be exposed publicly, and I know private endpoint can be used between function app…

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.
13,677 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,075 questions
asked 2024-09-09T07:58:28.5733333+00:00
Najam ul Saqib 280 Reputation points
commented 2024-09-16T15:53:07+00:00
Sai Raghunadh M 150 Reputation points Microsoft Vendor
1 answer

SQL license with package license

Hi team My company deployed a database server, and the vendor is using their legal license of MS SQL server. They said they use the package license, not single license. So I just want to ask can the data leaking happen on this case, if they try to…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-16T11:33:16.3533333+00:00
Hung, Duong Xuan 0 Reputation points
commented 2024-09-16T15:52:41.77+00:00
Bruce (SqlWork.com) 64,161 Reputation points
3 answers

How to Update-Database in PM console when getting "Could not load assembly..." error?

Hello, I cannot apply migrations to database by Package Manager Console command Update-Database. On every attempt I get error: Could not load assembly "My_Project". Ensure it is referenced by the startup project 'My_Project'. Before mentioned…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,519 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.
13,677 questions
asked 2024-09-13T13:56:24.9266667+00:00
Filip Veselý 0 Reputation points
commented 2024-09-16T13:27:27.4533333+00:00
Michael Taylor 53,816 Reputation points
1 answer One of the answers was accepted by the question author.

Need help with proper step flow for putting a database into a Distributed AG

This is a bit long, but I want my explanation to be thorough. I'm trying to get a couple of large databases added to a new Distributed AG setup. The setup consists of 4 servers, 2 in each of 2 sites. The 2 servers in each site are contained in a Local AG…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 questions
asked 2024-09-12T20:44:10.27+00:00
PrestonSheila-3467 20 Reputation points
accepted 2024-09-16T13:11:41.97+00:00
PrestonSheila-3467 20 Reputation points
1 answer

Blazor and SSRS/Report viewer

Hi, We are wondering, if it's possible to use Report Viewer (any Blazor components) or embed SSRS report (no IFrame) in Blazor. Is there such thing out there besides solutions like what Telerik or BoldReports provide? We're looking at a solution with…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,556 questions
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.
2,913 questions
asked 2021-07-13T16:49:46.907+00:00
Stéphane Roy 31 Reputation points
commented 2024-09-16T10:59:35.2066667+00:00
Kasim Husaini, FMIS Supervisor 6 Reputation points
1 answer

Azure SQL Session Limit Reached

This morning I started getting an error stating that the session limit for the database of 4800 has been reached and I can no longer log into SQL Server Management Studio and the databases I have created that access the Azure SQL Server bring up the same…

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.
13,677 questions
asked 2024-09-11T15:18:33.6366667+00:00
Jason Evans 0 Reputation points
commented 2024-09-16T10:25:15.5666667+00:00
Mahesh Kurva 0 Reputation points Microsoft Vendor
1 answer

SSAS - TMSL Query and Monthly Partition , how to add Filter

Hello Experts, Trust you are all are doing good. Having following environments, one SQL server for DWH and another Enterprise Edition of SSAS hosting Tabular model(TM). DWH design is Star Schema based, where the fact table would receive roughly 1 million…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,677 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,276 questions
asked 2024-09-15T05:21:37.1933333+00:00
PANDEY Prashant 85 Reputation points
answered 2024-09-16T01:32:46.6033333+00:00
LiHongMSFT-4306 26,706 Reputation points