Reputation: 155
In my actual project, my boss asked me to export data from database to csv flat files.
So, as I don't know .net code, I use SSIS File System task and ForEach Loop Container.
I built a package which:
A- Year\MONTH\REGION\ .csvfiles
One difficulty that I have is to create folder and sub folder only if it does not exist.
Upvotes: 0
Views: 1270
Reputation: 61211
I'm lazy, I'd drop a Script Task in the Foreach Loop Container and make use of the System.IO.Directory. Specifically, I'd use Exists and CreateDirectory
Upvotes: 1