簡體   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