简体   繁体   English

Azure数据工厂查找活动,具有表类型参数的存储过程

[英]Azure Data Factory Lookup Activity, Stored Procedure with Table Type parameter

I'm setting up an Azure Data Factory to copy DB data between 2 Azure SQL Server. 我正在设置一个Azure数据工厂以在2个Azure SQL Server之间复制数据库数据。

I have a Stored Procedure at sink DB and SP has a user-defined table type parameter and some OUTPUT parameters. 我在接收器DB上有一个存储过程,SP有一个用户定义的表类型参数和一些OUTPUT参数。

I've succeeded with Copy Activity but found that OUTPUT parameters are not supported. 我已经成功完成了“复制活动”,但是发现不支持OUTPUT参数。 ( https://social.msdn.microsoft.com/Forums/azure/en-US/82e84ec4-fc40-4bd3-b6d5-b742f3cd1a33/adf-v2-how-to-check-if-stored-procedure-output-is-empty?forum=AzureDataFactory ) https://social.msdn.microsoft.com/Forums/azure/zh-CN/82e84ec4-fc40-4bd3-b6d5-b742f3cd1a33/adf-v2-how-to-check-if-stored-procedure-output-is -empty?forum = AzureDataFactory

So I tried with two Lookup Activity, one is to select multiple rows from the table(maybe into my table type), another is to execute SP. 因此,我尝试了两种“查找活动”,一种是从表中选择多行(也许是我的表类型),另一种是执行SP。

But when setting the second Lookup Activity, there's no Table Type parameter setting with Stored Procedure Parameter. 但是,当设置第二个“查找活动”时,“存储过程参数”没有“表类型”参数设置。

Pressing "Import parameter" also didn't show a table type parameter. 按“导入参数”也没有显示表类型参数。

How can I pass a table type parameter from lookup activity 1 to the second? 如何将表类型参数从查找活动1传递给第二个?

Table type is for sink stored procedure. 表类型用于接收器存储过程。 For look up activity, the stored procedure is used to read data. 对于查找活动,存储过程用于读取数据。 So I believe table type is not required. 因此,我认为表类型不是必需的。

https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-sql-database#azure-sql-database-as-the-source https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-sql-database#azure-sql-database-as-the-source

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

相关问题 带有存储过程的Azure Data Factory复制活动 - Azure Data Factory copy activity with stored procedure Azure SQL 具有接收器存储过程的数据工厂复制活动 - Azure SQL Data Factory Copy Activity with Sink Stored Procedure 在 DataFlow Azure 数据工厂中的活动后执行参数化存储过程 - Execute parameterized stored procedure after an activity in DataFlow Azure Data Factory Azure 数据工厂:源数据集具有用户定义的表类型的存储过程 - Azure Data Factory : Source data set has a stored procedure with user-defined Table Type Azure数据工厂和存储过程 - Azure data factory and stored procedure Azure 数据工厂 -> 查找、ForEach 和复制活动 - Azure Data Factory -> Lookup , ForEach and copy activity Azure 数据工厂 - 查找活动:使用 In 运算符过滤 Azure 表存储查询 - Azure Data Factory - Lookup Activity: Filtering Azure Table Storage query with In operator 在 Azure 数据工厂中调用 Oracle 存储过程 - Invoking Oracle stored procedure in Azure Data Factory Azure 数据工厂 - 存储过程 - 错误代码 ActionTimedOut & 详细信息活动超时 - Azure Data Factory - Stored Procedure - Error code ActionTimedOut & Details Activity timed out Azure 数据工厂 - 为什么我的 ForEach 块不将我的存储过程计为活动? - Azure Data Factory - Why does my ForEach block not count my stored procedure as an activity?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM