@@ROWCOUNT issue
Hi there, I had the below code and it worked fine in counting the records inserted and logging insert counts. CREATE PROCEDURE ProcessCustomer AS BEGIN DECLARE @RowsInserted INT; -- Insert into the final table and capture row count …
Timeline for Release of NEXT GEN Feature for Managed Service in Azure
What is the timeline for the release of the NEXT GEN feature for managed service in Azure? It has been in testing since March 2024. When will it be out of preview mode for general use?
SQL Azure Failover Group Deployment Fails - Gateway Timeout
I've been trying to create a failover group for a SQL Azure Database Pool (DTU model). The failover database (in location East US) has the same configuration (credentials and service level) as the primary database (in location South Central US). When…
Request for Insights on Enabling CDC with ADR on Azure SQL Managed Instance
I am reaching out to check if anyone has prior experience or insights on enabling and managing these features together in Azure SQL Managed Instance. Specifically, we are interested in understanding: • Any challenges or considerations when enabling CDC…
Backup and restore for Azure SQL database using sqlpackage.
I am using sqlpackage to export and import my Azure SQL Database as .bacpac files. My database contains: User-defined schemas and tables SQL Agent-related objects, such as jobs and the ##MS_JobAccount## user External users, such as service principals…
Azure SQL server database pricing
I would like to know if the pricing of Azure SQL Server depends on the individual database we create in it or if there is an option at the server-level plan to make unlimited databases in one SQL server.
Azure SQL Database - on master - long execution of a query program TdService
On Azure SQL Database in Azure there is a really long query running (many days). The details: database_name master program_name TdService It looks like a bug from an Azure SQL Service. On diagnostics while trying to send a support ticket: The…
Impact of Increasing database size on existing data ?
Hi, we are planning to increase database size as we have run out of space but just wondering the impact of this change on the existing data. Will there be any data loss ?
Getting error creating database in SQL Elastic Pool, but can do it through the portal
I have a SQL Elastic Pool, MyPool, configured with 200 eDTUs and 800 GB storage It contains a database, DBPrimary, with data space used = 127 GB, max storage = 300 GB I have another database outside of the pool, DBProd, with data space used = 117 GB, Max…
Question about GA for Next-gen GP for Azure SQL Managed Instance
Hi, Public-preview for Next-gen GP for Azure SQL Managed Instance is available since 21 March 2024, especially support for 32TB (https://techcommunity.microsoft.com/t5/azure-sql-blog/introducing-azure-sql-managed-instance-next-gen-gp/ba-p/4092647). Are…
Unable to Disable Active Trial for Microsoft Defender for SQL in Azure – How to Cancel and Stop Billing
Hello, I am facing an issue where I am unable to disable an active trial for Microsoft Defender for SQL in my Azure account. I have already turned off Cloud Workload Protection (CWP) and see that the Defender for SQL plan is marked as "off,"…
Guidance With Azure DMS Tool For Maria DB Database Migration
Hello, I am currently working on a Database migration project migrating data from a MariaDB database hosted on AWS over to an Azure SQL DB as part of a cloud consolidation program using an IPsec VPN tunnel. While Azure Database for MariaDB would seem…
Issue with Creating Linked Server from Azure SQL Managed Instance to On-Premises SQL Server
Hi, Interestingly, I was able to create a linked server in the reverse direction—from the on-premises SQL Server to my Azure SQL MI—using a remote login and password for authentication. However, when I attempt to establish the link from Azure SQL MI to…
✗ Microsoft.SqlServer.Prose.Import.BcpProcessException: Error inserting data into table.
As I understand it, the issue is when importing csv files on Azure Data Studio, the data type is a string and has to convert to another data type. But the error can't convert the string to another data type, how am I supposed to bypass this if I can only…
Identify the SQL query causing spikes
Our MS SQL database in Azure runs at only a few percent DTU - except for occasional spikes to 100%. How do I find out which query is causing the spikes?
How to fix issue - The server principal is not able to access the database under the current security context.
I have a Data Factory (DF) and SQL Managed Instance (MI) with 2 databases "dbx" and "dby". Using script activity, my DF executes my stored procedure (SP) written in X. When SP performs a merge from dbx.Table1 to dby.Table1 -->…
When a new database is created database_service_objectives table isn't updated with the new row for that DB
We are resetting the data in database by deleting the existing database and creating a new database with the same name. However database_service_objectives table isn't creating a new row with the latest database_id. the previous database_id is still…
How to fix code throwing exception : Microsoft.Data.SqlClient.SqlException: 'Login failed for user '
Hi All, I'm encountering an issue while trying to connect to an Azure SQL Database using Microsoft Entra Authentication (formerly Azure AD). I am using DefaultAzureCredential in my .NET application to authenticate and retrieve the access token, but…
Columnstore dmv sys.column_store_segments some columns always NULL Azure Database
Within an Azure SQL database, I have a clustered column store index (many millions of records), with a number of columns of which are mainly INT based. When I interrogate the dmv sys.column_store_segments, the columns [has_nulls], [min_data_id] and…
Retrieving Admin Credentials for SQL Server Database Backup
Connecting to a database from SQL Server Management Studio with normal authentication is not allowing backup operations. An ex-employee who was the admin did not provide any credentials. As a result, backup cannot be taken, and attempts to assign roles…