简体   繁体   中英

Azure SQL server accees from VBA Excel

first I want to say that, I'm very new with Azure and Sql server.

second, I have an Excel VBA code that create select query from an Azure SQL SERVER db.

On my local PC it works fine but when I'm trying to use the VBA code from another computer I get the attached error.

Is it something to do with security maybe ? enter image description here

The SQL Database service creates a firewall at the database server level for single and pooled databases. This firewall prevents client applications from connecting to the server or any of its single or pooled databases unless you create an IP firewall rule to open the firewall. For a connection from an IP address outside Azure, create a firewall rule for a specific IP address or range of addresses that you want to be able to connect.

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-server-level-firewall-rule

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM