繁体   English   中英

使用来自 SQL Azure 数据库的数据在线刷新 Excel 工作簿

[英]Refresh Excel workbook with data from SQL Azure Database in SharePoint Online

I am migrating from an on-prem SQL database and on-prem SharePoint server to Azure SQL Database and SharePoint Online.

在当前设置中,我有一个 SharePoint 库,其中包含 Excel 文件,其中包含来自 SQL 数据库的数据。 连接在 odc 文件中定义。 Excel 服务身份验证在此 odc 中使用存储帐户设置。 这允许从 Excel Web App 刷新数据。

我正在尝试在我们的新环境中设置相同的东西,但找不到任何有关如何设置的信息。 I have tried creating an excel file with a connection to the Azure SQL database and uploading that into a document library in SharePoint Online. 如果我在浏览器中打开工作簿并单击刷新数据,我会收到一条错误消息,指出无法刷新一个或多个数据连接。 如果我在桌面应用程序中打开,那么我可以毫无问题地刷新。 我正在努力实现的目标是可能的,还是我需要重新考虑设置?

Azure SQL 数据库不受支持。 Azure SQL Managed Instance is supported with SharePoint Servers 2016 and 2019. See all the SQL Server options for SharePoint Server .

For SharePoint online you need Business Connectivity Services (BCS) to connect with data services and although the following document: Manage Business Connectivity Service Applications references Azure SQL Database, I believe that Azure SQL Managed Instance is supported but not Azure SQL Database. SQL 托管实例是 Azure VM 上的全功能 SQL 服务器实例。 SQL 数据库是一种 PaaS 服务,具有 SQL 服务器功能的子集。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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