Azure SQL Managed Instance authentication with Windows AD users
I am looking to migrate from Azure SQL VMs to Azure SQL Managed Instance and I had a few questions related to integrating this with an on-premises Windows Active Directory domain. We have some applications running on separate Windows VMs. These VMs are…
ADO.NET connection failure to Azure Database from VS 2022 SSIS Package running against SQL Server 2022 using Microsoft SQLClient Data Provider
I have a SSIS package running on SQL Server 2022 in VS2022 that connects to a 3rd party Azure database as a source with ADO.NET using Microsoft Entra Password that has been running successfully for a few years. However, recently I needed to make…
SQL Server Management Studio OutOfMemory on import flat file
Hello, Throughout the years I have been working with large datasets (CSV's) in combination with SSMS and a local SQL server DB (Developer DB). A week ago I have worked on a particular CSV (6gb) on my old and trusty laptop. What I always do is use the…
tsql sum amount recursively without recursive cte
Hi, I need help creating recursive query to sum up Amounts of all ChildIDs for parent ID=1 node. Table definition and data below. This is for SQL serverless where Recursive CTE is not supported. So left join would do, The table is large and the query…
SSL Error connecting to Azure SQL
A connection was successfully established with the server, but then an error occurred during the pre-login handshake I am getting this error when testing from SSMS and also from linked servers and SSIS providers. Around the 4th November, this connection…
CXSYNC wait type appearing on Queries that didnt normally have it and TimeOuts occurr
In Azure SQL Managed Instnace: Queries that are complex but run in a timely way normally ... sometimes start getting this wait: CXSYNC_PORT and run until our App timeout threshold of 30sec. This has happened for various databases on the same Managed…
Issue with Deploying Azure SQL Server Managed Instances: “Your deployment failed”
Hello, I am encountering an issue while trying to deploy Azure SQL Server Managed Instances. The deployment process fails with the message “Your deployment failed.” I have attached a screenshot of the deployment details and included the error message…
Power Automate: SQL - Transform Data using Power Query recently started giving AADSTS7000113: Application 'f3b07414-6bf4-46e6-b63f-56941f3f4128' is not authorized to make application on-behalf-of calls error
All my Transform Data Using Power Query steps in my flows are receiving the following message after Friday afternoon. I had some successful runs before that, perhaps 30 minutes prior. The error I am receiving is the following: AADSTS7000113: Application…
Transpose rows into columns based on ID.
I have a table with two columns, ProductionEventId and Value. The ProductionEventId column contains unique ids that repeat for each value in the Value column. See below. How can I have one occurrence of the ProductionEventId with the multiple values in…
When always on secondary database is goes in suspended mode? What could be the reasons? how can we fix if it goes frequently?
When always on secondary database is goes in suspended mode? What could be the reasons? how can we fix if it goes frequently?
Remove SQL 2022 Web Edition Product Key
We need to export a small SQL server and hand it off to another organization. The problem is the SQL server is using our product key for SQL. Is there a way to remove the SQL product key so it will be blank and make them enter in a new key? I have been…
Identifying Unused Tables in AAS Cube Over the Last 30 Days
I have a question regarding identifying unused tables in Azure Analysis Services (AAS). In our organization, we’re using AAS, and due to limited storage, our cube refresh is failing. I’ve been tasked with finding a list of tables that haven’t been used…
Database backup fails
But no issues when manual backup in the same location. THere is no space issue. I have another server with same service pack and has no issues. This is the eversion #: Microsoft SQL Server 2016 (SP2-GDR) (KB4583460) - 13.0.5108.50 (X64) May 20 2022…
Microsoft.AnalysisServices 19.86.2.1 is not adapted to work on Linux.
Hi, When I try to connect to Server from Microsoft.AnalysisServices.Tabular on my local machine which is on Windows, it works correctly. While in Kubernetes cluster I get the error The type initializer for…
Error -2054422515 installing SQL Server Express
We use a desktop application to upgrade/install sql server on diffferent PC'S but it is failing. Logs from Event Viewer Log Name: Application Source: ANAAC Color Manager Installer Date: 11/12/2024 10:29:21 AM Event ID: …
I would like to start using Microsoft Teams as a ticketing system; if that is possible.
Good afternoon, my name is Frederick and I'm housing operations coordinator. I would like to start using Microsoft Teams as a ticketing system; if that is possible. Can you point me in the right direction so someone can help me set that up. Our school…
SQL Server 2022 Always On Synchronous Mode Delay
Hello I currently have a SQL Server 2022 Always On cluster deployed, with three servers, one for the master and two for the synchronous replicas. During testing, the app exits after a successful login, and after 7 operations, there will be 1-2 automatic…
SQL Server 2022 Always On Synchronous Mode Delay
Hello I currently have a SQL Server 2022 Always On cluster deployed, with three servers, one for the master and two for the synchronous replicas. During testing, the app exits after a successful login, and after 7 operations, there will be 1-2 automatic…
Convert SQl query to Linq query in c#
Below is my full sql query need to convert into linq query select distinct pd.personId from t1 (NOLOCK) pd inner join t2 (NOLOCK) fo on fo.personId = pd.createdBy and fo.isActive=1 left join t3 (NOLOCK) fap on pd.personId=fap.personId and…
TSQL month name to date
Hi, I have a table with a MNTH column that contains month prefixes - 'JUL', 'AUG', 'SEP', 'OCT', etc., up to 'JUN' of next year. My financial year for this data starts in July and ends in June. Thus, in this data set - start from 202407 up to 202506. In…