SSIS有Foreach批量导入数据,想获取数据的文件名称,好像要用变量什么的怎么弄?

Elsie_swufe 2013-10-21 10:36:39
用Foreach循环容器,导入多个csv文件,能导入数据,现在我想要获取平面文件源的的信息,怎么获取呀


...全文
406 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
KevinLiu 2013-10-22
  • 打赏
  • 举报
回复
5.On the Variable Mapping page, map Index 0 to a user-defined string variable that will receive the current Excel path and file name on each iteration of the loop. (The sample expression shown later in this procedure uses the variable name ExcelFile.) http://technet.microsoft.com/en-us/library/ms345182.aspx
Elsie_swufe 2013-10-22
  • 打赏
  • 举报
回复
引用 4 楼 SmithLiu328 的回复:
先建一个变量,然后再SSIS里面Index0选择这个变量就会传递到变量了。
亲,我刚入门能不能详细点儿呀?
Mr_Nice 2013-10-21
  • 打赏
  • 举报
回复
-Tracy-McGrady- 2013-10-21
  • 打赏
  • 举报
回复
我只能帮忙顶顶,不客气哦亲
KevinLiu 2013-10-21
  • 打赏
  • 举报
回复
先建一个变量,然后再SSIS里面Index0选择这个变量就会传递到变量了。
潇洒王子 2013-10-21
  • 打赏
  • 举报
回复
这个没研究过,学习学习。

22,209

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧