簡體   English   中英

無法從 Excel 中的 Azure Sql 服務器獲取數據

[英]Cannot get data from Azure Sql Server in Excel

我正在嘗試從我的 excel 服務器連接到 azure sql 服務器。

但是,我只能在 GetData -> Azure 選項卡中看到 Azure 數據瀏覽器。

與安裝在另一台計算機上的其他 excel 不同,我看不到可以從中獲取數據的任何其他 azure 服務。

我嘗試卸載並安裝回最新的 2016 Excel 但沒有運氣。

在此處輸入圖像描述

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.

我使用 Excel 2016 並且也沒有From Azure SQL 數據庫 在此處輸入圖像描述

但是Get Extra Data --> From Other Source --> From SQL Server也適用於 Azure SQL 數據庫。 例如,我從我的 Azure SQL 數據庫中獲取表 test5 數據:

在此處輸入圖像描述

在此處輸入圖像描述

在此處輸入圖像描述

在此處輸入圖像描述

注意:確保您已將 IP 地址添加到當前計算機的防火牆中。

希望這可以幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM