Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

Creating a dynamic folder and text file using ssis

$
0
0
How to create a folder and a text file within that folder using ssis package I have a table of 9000 rows which contain folderpath, filename and information columns. So it has to read that folderpath and create the folder, then read the filename column create a .txt file with information column data in the text file within that folder. This has to happen for every row.. **EDIT** I was trying it as: 1. Create an execute sql task to read the table for above 3 columns. 2. Pass those variable in for each loop. 3. Add script task in the for each loop to create the folder,filename. But I was failing in passing variables correctly to foreach loop and script task. Is my approach correct or is there a way to do it more easily. I am a newbie to SSIS so not exactly sure how to move ahead

Viewing all articles
Browse latest Browse all 813

Latest Images

Trending Articles



Latest Images