10,700 questions
Score of 0
0 answers
47 views
Intermittent Azure SQL "Login failed for user" from Azure Functions using Managed Identity
We have an Azure Functions (.NET 8 Isolated) application connecting to Azure SQL Database using Microsoft Entra authentication via Managed Identity.
For the last couple of months we have been seeing ...
Advice
0
votes
0
replies
36
views
SQL Server: Daily aggregation of file sizes per storage tier (created / tier change / deleted dates)
I’m trying to derive a daily snapshot table from a fact table that tracks file storage metadata.
In production this table can contain tens of millions of rows, and its structure cannot be changed.
To ...
Advice
0
votes
6
replies
110
views
Choosing database in Azure
I'm testing with a mobile app and webapp that both currently communicate through a local API with my local SQL Server database. There are three tabels and these all have less than 100 rows and about 6 ...
Score of 2
0 answers
324 views
Microsoft.Data.SqlClient 7.0.0 throwing error on new serverconnection in .NET Framework 4.8
We have a Visual Studio solution, written to run on .NET Framework 4.8 and mostly in VB.NET. Part of this is a mechanism to run SQL scripts stored in .sql files.
This has worked fine for years, ...
Score of 0
0 answers
53 views
Azure-SSIS IR fails to start with CatalogDbBelongsToAnotherIR – can one SSISDB be used by multiple IRs?
I created an Azure Data Factory and configured a new Azure-SSIS Integration Runtime (IR) using an existing Azure SQL Managed Instance that already contains an SSISDB catalog.
When I try to start the ...
Score of 0
0 answers
69 views
ADF Copy Activity from Synapse to Azure SQL Causes 100% IO Utilization (CPU ~40%) and User Query Timeouts
I have an Azure Data Factory (ADF) Copy Activity that periodically copies a large volume of data from an Azure Synapse table into an Azure SQL database.
Whenever the copy activity runs, the IO ...
Score of 0
0 answers
114 views
How can I automate loading .bak/.bacpac files from SFTP into Azure SQL and run post-load mapping scripts at low cost?
I’m trying to design a low-cost automated process for refreshing an Azure SQL database from backups that are delivered to an SFTP server.
I receive either .bak or .bacpac files via SFTP. I want to ...
Score of 0
0 answers
58 views
How to BULK INSERT hex strings into a VARBINARY column in Azure SQL (from CSV) without staging?
I am loading data from Parquet into Azure SQL Database using this pipeline:
Parquet → PyArrow → CSV (Azure Blob) → BULK INSERT
One column in the Parquet file is binary (hashed passwords).
PyArrow CSV ...
Advice
0
votes
4
replies
188
views
Ways to Improve Bulk-Insert Throughput in Azure SQL
I’m attempting high-volume bulk inserts into Azure SQL, but the performance is lower than expected. One known factor is the Max Log Rate (MiB/s) limit, which depends on the service tier (see Microsoft’...
Score of 0
1 answer
135 views
Entity Framework Core queries in an ASP.NET Core application targeting an Azure SQL database are running with wildly different runtimes
I have a web app using code-first EF Core.
One of the controllers needs to run what should be a simple query (basically SELECT TOP 1 * FROM companies WHERE id = @id; in EF terms,
var data = await ...
Score of 1
1 answer
492 views
sp_delete_database_firewall_rule fails for greyed out firewall rules
I'm looking at the Networking settings for one or our Azure SQL servers, and I see some of them are greyed out.
Azure Portal shows a message "You can use TSQL to remove or modify greyed out rules....
Score of 0
0 answers
105 views
How to get rid of $ShardName when using sp_execute_remote?
When using the sp_execute_remote to call the remote SQL command, the call adds the column $ShardName to the result data set.
Is there any way to suppress returning that extra column? Two reasons...
...
Score of 0
0 answers
110 views
Random Change tracking enabled error when deploying `DACPAC` using `DacFx`
We have a SQL Server Data Tools (SSDT) Visual Studio database project, and we deploy the DACPAC output using DacFx + PowerShell scripts.
In this project, we enable:
Database-level change tracking via ...
Score of -1
2 answers
267 views
Azure SQL S0 Tier – Slow Update Performance During Peak IoT Data Processing
I'm using Azure SQL (Standard S0: 10 DTUs) to store data from various IoT devices.
Each IoT device sends messages to my Azure IoT Hub, which then triggers an Azure Function App. The Function App ...
Score of 0
1 answer
128 views
Adding diagnosticSettings to Azure SQL Databases using Bicep loops
I am trying to set diagnosticSettings to an array of databases in bicep using for (db, i) in dataBaseArray.
At first I create the databases:
@batchSize(1)
resource sqlDatabases 'Microsoft.Sql/servers/...