简体   繁体   English

Azure数据工厂- Azure function连接ZAC5C74B64B4B835AZ2EF2F181数据库不工作

[英]Azure data factory- Azure function to connect sql database does not work

I have a copy activity in ADF.我在 ADF 中有一个复印活动。 On completion I wanted to update a table.完成后我想更新一个表。 Stored proc is not an option for us.存储过程不是我们的选择。 Would like to know all other options to run the update query post copy.想知道运行更新查询后复制的所有其他选项。 Tried Azure function to connect to sql database and update the table.尝试 Azure function 连接到 sql 数据库并更新表。 Works fine separately with time trigger.与时间触发器分开工作正常。 What trigger to be used for the Azure function for this scenario in ADF?对于 ADF 中的这种情况,Azure function 使用什么触发器?

Thanks in advance, Aruna提前致谢, 阿鲁娜

Per my understanding, you want to execute a function to update a table after a copy activity and you don't want to use time trigger.据我了解,您想在复制活动后执行 function 来更新表,并且您不想使用时间触发器。 Currently Azure function supported as a step in Azure Data Factory pipelines.目前支持 Azure function 作为 Azure 数据工厂管道中的一个步骤。 So we just need to drag the azure function to pipeline in Azure Data Factory and provide the info of your function(such as the name, url...). So we just need to drag the azure function to pipeline in Azure Data Factory and provide the info of your function(such as the name, url...).

在此处输入图像描述

For further information, you can refer to this tutorial: https://azure.microsoft.com/en-us/blog/azure-functions-now-supported-as-a-step-in-azure-data-factory-pipelines/有关更多信息,您可以参考本教程: https://azure.microsoft.com/en-us/blog/azure-functions-now-supported-as-a-step-in-azure-data-factory-pipelines /

As a work-a-round: within lookup you can define a sql query and execute quiete a lot of logic.作为一个循环工作:在查找中,您可以定义一个 sql 查询并执行很多逻辑。 There is a limit of ~2MB of data returned on the lookup (not listed as a limitation of ADF).查找时返回的数据有约 2MB 的限制(未列为 ADF 的限制)。

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

相关问题 使用 SQL 客户端将时间触发的 Azure Function 与数据库连接 - Connect time-triggered Azure Function with Database using SQL Client Azure Function 无法连接到 azure ZAC5C74B64B4B8352AF2F181AFFB5AC 数据库。 Package 错误 - Azure Function can't connect to azure sql database. Package error 无法通过Azure功能运行Azure数据工厂 - Can't run Azure data factory from Azure function 我们可以将 Microsoft Azure Bot 连接到 Azure SQL 数据库并从 DB 读取数据并将其用作机器人的回复吗? - Can we connect Microsoft Azure Bot to Azure SQL Database and read data from the DB and use it as a reply for the Bot? 如何将 .net 控制台应用程序客户端连接到 azure 数据工厂 - How to connect a .net console app client to azure data factory 尝试连接到SQL Azure数据库时发生异常 - Exception when trying to connect to SQL Azure Database Azure函数可同时连接到Blob和SQL存储 - Azure function to connect to both blob and sql storage 如何在Microsoft Azure的Sql数据库中存储数据 - How To store data in Sql database in Microsoft Azure 将Windows Phone 8.1 Store应用连接到现有的Azure SQL数据库 - Connect a Windows Phone 8.1 Store App to an Existing Azure SQL Database 无法通过 Azure Active Directory 连接到 SQL Server 数据库 - Not able to connect to SQL Server database through Azure Active Directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM