訓練
模組
Use Power Query to load data in Dataverse - Training
Learn how to synchronize data from different sources to a Microsoft Dataverse table using Power Query and create dataflows in Power Apps.
Odbc.Query(connectionString as any, query as text, optional options as nullable record) as table
使用 ODBC,傳回使用連接字串 query
執行 connectionString
的結果。
connectionString
可以是文字或屬性值組的記錄。 屬性值可以是文字或數字。 可提供選擇性的記錄參數 options
來指定額外屬性。 記錄可包含下列欄位:
ConnectionTimeout
:控制放棄嘗試連線到伺服器之前要等待的時間長度。 預設值為 15 秒。CommandTimeout
:用來控制伺服器端查詢在取消前可以執行的時間長度。 預設值為十分鐘。SqlCompatibleWindowsAuth
:邏輯 (true/false),其判斷是否要為 Windows 驗證產生與 SQL Server 相容的連接字串選項。 預設值為 True。傳回針對提供的連接字串執行簡單查詢的結果。
使用方式
Odbc.Query("dsn=your_dsn", "select * from Customers")
輸出
table
訓練
模組
Use Power Query to load data in Dataverse - Training
Learn how to synchronize data from different sources to a Microsoft Dataverse table using Power Query and create dataflows in Power Apps.