If the number of rows that will be inserted on SQL Server (coming from Azure SQL) is small, then try creating a linked server. See how to create the linked service and insert a row on SQL Server on this article.
Query from Azure server into SQL server
Hello,
I wanted to see if someone can help me create a query inserting data from SQL Azure into a different SQL server? I've never done inserts across servers or Azure. I will be writing and running the insert statement from SQL server.
SQL Azure - Server, DB name, username, password
Any help and direction would be greatly appreciated.
Thanks,
Tim
3 answers
Sort by: Most helpful
-
-
Olaf Helper 44,501 Reputation points
2022-02-25T08:29:02.147+00:00 Or use a SSIS = "SQL Server Integration Service" to transfer data from/to Azure
-
AaronHughes 391 Reputation points
2022-02-25T10:13:06.707+00:00 As above
Azure External Data Source to the SQL Server that is on Prem
SSIS package in SQL Server or ADF SSIS runtimeExtra options
ADF/Synapse Pipelines could be used to do the same as above in native Copy Activity
SSMS wizard to move the data if connected to both DBs
Data Migration tool could be used to facilitate clone of table and data in it to Azure SQL from SQL Server On Prem also