Category "azure-sql-database"

azure logic app for failed connections and slow running queries

can anyone suggest how to create the logic app for failed connections in azure to send mail automatically, diagnostics setting in logs log analytics enabled, f

How can I see the queries executed on day x? (So I can find the DB change that is impacting performance.)

Since Day X (which is inconveniently just outside my DB recovery plan), I have been experiencing a significant performance degredation on an o

ADF - Iterative select Output to Copy activity

we have an SP where the SP executes and returns multiple result set with change in column number as below: create proc test ab as select 1 as num1 select 1 as

Get previous row value based on a timestamp for matching IDs

I have a table about shipping that has information about the arrival (country and date) to a port. Now I need to extract the country where it departed from usin

How to use ODBC connection for pyspark.pandas

In my following python code I successfully can connect to MS Azure SQL Db using ODBC connection, and can load data into an Azure SQL table using pandas' datafra

How to connect database to data files in Azure Blob?

This resource states that a Azure SQL database may be attached to a database by using the following command: WITH IDENTITY='SHARED ACCESS SIGNATURE', SECRET =

How to prevent SQL Server from stripping leading zeros when importing data

A data file is imported to a SQL Server table. One of the columns in data file is of text data type with values in this column to be integers only. The correspo

Azure SQL: exporting database as non-admin with dynamic data masking

I've tried to implement sensitive data masking with dynamic data masking from Azure Portal. Inspiration came from this article: https://joeydantoni.com/2016/11

How to prevent SQL Server from stripping leading zeros when importing data

A data file is imported to a SQL Server table. One of the columns in data file is of text data type with values in this column to be integers only. The correspo

Sql Database sync error in azure Database Sync Group

I'm trying to connect my local database with online database. I've followed the full procedure but Database Sync Group is showing a log error of following type

In an Azure data flow, can joins and lookups only be done between datasets of the same type?

It's my understanding that lookups and joins in Azure data flows can only be performed between identical/similar formats. For example, between dedicated SQL poo

SQL Server - Decimal values not precisely calculated

For the below calculation, the expected result is -0.0000671. But the result of the code is -0.00006800000. declare @V_A decimal (38,11) = 99.99329,

Unable to connect to Azure DB using JDBC with ActiveDirectoryServicePrincipal

I'm trying to connect to an Azure DB via JDBC using authentication mode ActiveDirectoryServicePrincipal. Connection string: jdbc:sqlserver://xxx.database.window

Azure SQL: can we grant 'execute' permission for stored procedure to API connections in logic app?

I want to execute the stored procedures from the logic app. I have added an SQL connector for it. but in the 'Procedure name' dropdown, that particular procedur

Unable to automate AD user creation in Azure SQL database

I'm trying to set up automated pipeline for database creation and need to open access for all users of some AD group. Last part is done through CREATE USER [Gro

Postman auth service principal to azure database

I am testing some workflow in azure on which I have some web apps api connecting to a SQL Database using a service principle. Everything works fine and the web

Best way to store SQL scripts and Power BI files in Azure Repos

I would like to know what would be the best way to keep and transfer my SQL Server database scripts (views, trigger, ...) and my files (dataset and reports) fr

Azure SQL: generate JSON with column as key

I have the below data in my sql server table Name Value ValueHash country aaa zzz lastname ccc yyy email [email protected] xxx firstName bbb www And I want the below Js

Best Method to Delete 12M rows from SQL table

I have a table currently with 100M+ rows of telemetry data. The table often receives duplicate records. I can identify duplicate records using a row_number() pa

Statement 'backup log' is not supported in this version of SQL Server

I want to use ASP.NET migrator to connect a backend (the backend used to work with local database, but now, there is no local database)to an Azure database, but