We're currently migrating all our on-premise applications to Azure environment. Currently, most of our stored procedures have queries using xp_cmdshell
to move files between Windows file shares.
In the Azure env, all these Windows file shares will be replaced by Azure file shares and the SQL Server will be replaced by Azure SQL Managed Instance.
So, is there a way to modify the queries to work for Azure file shares instead of Windows file share?
The closest help we got on this is creating tables from Azure Blob storage on Azure SQL. Is it possible to access Azure Blob from a stored procedure?