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…
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…
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…
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.
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.
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 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…
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,…
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 -…
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"
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"
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. …
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( …
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…
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…
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…
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…
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…
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…
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…