【问题标题】:Cannot get data from Azure Sql Server in Excel无法从 Excel 中的 Azure Sql Server 获取数据
【发布时间】:2020-07-07 09:54:07
【问题描述】:

我正在尝试从我的 excel 连接到 azure sql server。

但是,我只能在 GetData -> Azure 选项卡中看到 Azure 数据资源管理器。

与我在另一台计算机上安装的其他 excel 不同,我看不到可以从中获取数据的任何其他 azure 服务。

我尝试卸载并安装回最新的 2016 Excel,但没有成功。

enter image description here

【问题讨论】:

  • 您好 Simon,如果我的回答对您有帮助,您可以接受(标记)它作为答案(单击答案旁边的复选标记,将其从灰色切换为已填充。)。这对其他社区成员可能是有益的。谢谢。

标签: sql excel database azure


【解决方案1】:

首先请参考这篇文档: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 地址添加到当前计算机的防火墙中。

希望这会有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-05-05
    • 1970-01-01
    • 2023-03-05
    • 2022-08-02
    • 2017-07-30
    • 1970-01-01
    • 2013-09-10
    • 1970-01-01
    相关资源
    最近更新 更多