An Azure relational database service.
Rewriting Code to call a remote SP
All,
We are planning to migrate our On-Prem SQLServer databases to Azure SQL PaaS DBs with the databases being placed an in Azure Elastic Pool.
In the On-Prem database code, in several Stored Procedures, we call a SP in other databases , ie, Exec LogDB.dbo.usp_log_info and this needs to be rewritten.
Can sp_execute_remote be used to rewrite such code? We will be using External Data Sources and External Tables to handle cross-database queries.
Thanks,
grajee
Azure SQL Database
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more