Reputation: 81
i'm tryimg to loop over a diffrent countries folder that got fixed sub folder named survey (i.e Spain/survey , USA/survey ).
where and how I Need to define a wildcard / parameter for the countries so I could loop over all the files that in the survey folder ?
what is the right wildcard syntax ? ( the equivalent of - like 'survey%' in SQL) ?
I tried several ways to define it with no success and I would be happy to get some help on this - Thanks !
Upvotes: 0
Views: 105
Reputation: 4945
In case if the list of paths are static, you can create a parameter or add it in a SQL database and get that result from a lookup activity. Pass the output to a for each activity and within foreach activity use a copy activity. You can parameterize the input dataset to get the file paths thereby you need not think of any wildcard characters but use the actual paths itself. Hope this is helpful.
Upvotes: 1