如何根据值在 Azure 数据工厂中复制数据?

How to copy data in Azure Data Factory depending on the values?

我的问题是: 例如,我有一个 table,在 SQL Server table1(id, number1, number2) 和其他 table2(id,finalNumber) 中有三列。我怎样才能做一个有条件的副本?我想复制 table2(finalNumber) 中每一行的较大数字。我想 LookUp->IfConditionally 但它不起作用。

来自 IfCondition activity document,it could be used to quote the output data from look up activities.Like @{activity('MyLookupActivity').output.firstRow.count}. You could refer to my previous case:

中的示例

此外,还有一个想法是使用存储 procedure.You 可以这样 link to configure sql server stored procedure in your sql server sink.

然后你可以将数据从源table复制到临时table.And做数字对比业务并在存储中插入操作procedure.There是我在我做的非常详细的步骤以前的案例:参考它。

有任何问题,请告诉我。