如何在使用COPYDATA时获取记录数? [英] How to get Count of records while using COPYDATA?

查看:62
本文介绍了如何在使用COPYDATA时获取记录数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


           我正在使用复制数据活动将blob存储中的csv文件加载到SQL服务器,我从GET Metdata获取文件名,那么我怎么能得到我从该文件加载的行。



提前致谢

解决方案

嗨Naresh,



您可以在 activity
output



您可以像这样使用输出值:

 

@ activity('copyActivity')。output.rowsCopied

希望这有帮助。


Hi All,

            I am loading csv files from blob storage to SQL server using copy data activity,I am getting file name from GET Metdata,So how can i get no of rows i have loaded from that file.

Thanks in advance

解决方案

Hi Naresh,

You can find copied rows in activity output

And you can use the output value like this:

@activity('copyActivity').output.rowsCopied

Hope this helps.


这篇关于如何在使用COPYDATA时获取记录数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆