Creating a Linked Server between Azure SQL Database and On Premises database.

The topic below describes about how to create a linked server between a Azure SQL Database and an on premises environment. Before that please follow the steps below.

1) Create an Azure SQL Database in Azure

2) Create a login in Azure SQL database or use the same login with which you are connecting to the Azure SQL Database.

3) Create a Linked Server in On premises environment by providing the login details(2nd step). Follow the below images

The images below are self explanatory

Go to on premises server under server objects to create a linked server. Here the testDB is the name of the database which got created in Azure SQL Database






The below Image is the second image where you need to provide security . Here the user name and password are Azure Login information.



After click on OK button the linked server will automatically gets created. However the linked server is not shown here. But you can see it from your end once it gets created. The image below is an example of Azure SQL Database.





Comments

Popular posts from this blog

Configuring Always on setup in Microsoft Azure.

AZCopy-- How to copy files from Azure Storage Blob Container to on-premises local storage drive and folder