Foreach 循环文件名

Foreach loop filename

我正在熟悉 SSIS 解决方案,我刚刚意识到对我来说是新的东西:

有一个 foreach 循环任务,它在 "Files:" 框中包含以下信息:

这是什么意思?

这是否意味着该任务将获取名称如下的文件:

A(something)Sell(something)Depot(something).csv

赞:A10Sell123Depot21.csv

在文件文本框中,星号通配符 (*) 表示您不知道这部分名称。

`*` --> unknown string
`?` --> unknown character

示例:

"In the Files text box, enter File.txt. The asterisk wildcard () let’s us include any text file that starts with “File,” without having to specify each file. If our files had instead been Word files, we would have entered File.doc. If we were moving multiple file types, we would have used File*.* as our property value." Read More

所以在你的情况下,是的 A*Sell*Depot*.csv 意味着 A(something)Sell(something)Depot(something).csv 将匹配 A10Sell123Depot21.csv