简体   繁体   中英

Cannot get data from Azure Sql Server in Excel

I am trying to connect to azure sql server from my excel.

However, I can only see Azure data explorer in the GetData -> Azure tab.

Unlike my other excel installed in a different computer, I cannot see any other azure services that I can get data from.

I tried uninstalling and installing back to the lastest 2016 Excel but had no luck.

enter image description here

Firstly, please reference this document: Connect Excel to a database in Azure SQL Database or Azure SQL Managed Instance, and create a report :

You can connect Excel to a database and then import data and create tables and charts based on values in the database. In this tutorial you will set up the connection between Excel and a database table, save the file that stores data and the connection information for Excel, and then create a pivot chart from the database values.

I use Excel 2016 and also don't have From Azure SQL Database : 在此处输入图像描述

But Get Extra Data --> From Other Source --> From SQL Server also works with Azure SQL database. For example, I get the table test5 data from my Azure SQL database:

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

Note: make sure you have added IP address to the firewall for your current computer.

Hope this helps.

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