This post has been republished via RSS; it originally appeared at: Azure Database Support Blog articles.
Today, I got a very good question from a customer that they want to connect using Azure SQL DB to several tables of Azure Synapse using External Tables. Following I would like to share what was the lessons learned and how I was able to connect.
1) First of all, following I would like to share with you that script that I used to connect to Azure Synapse.
2) Finally, I was able to run and obtain data from the table TableNameSynapse without issues.
3) Just wanted to comment one thing that it is very important, even if you create a PrivateLink for Synapse server and you specified in the firewall Deny public network access, always the connection will be stablished from the Azure public IP of the machine that is running your Azure SQL Database never with the private IP. Remember that the Private Link is for incoming connection request not outbound connection request.