[英]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.