How to Convert Multiple excel files to CSV using SSIS
I have several excel files that I need converted to CSV prior to load. I will like this done on SSIS script. Can someone please assist me?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 8, 2014, 8:54 AM EDT
http://stackoverflow.com/questions/17843053/ssis-using-script-task-convert-xls-to-csv
http://social.msdn.microsoft.com/forums/sqlserver/en-US/b6edae1c-1b3a-4a78-b7fc-1df081ba074e/using-ssis-convert-excel-in-to-csv
Summer Amy3 reputationPosted Aug 8, 2014, 9:25 AM EDT
Candy Brown24 reputationPosted Dec 8, 2014, 11:09 PM EST
string[] excelFilePaths = { "Book1.xls", "Book2.xls", "Book3.xlsx" }; var csvFile = new ExcelFile(); var csvSheet = csvFile.Worksheets.Add("Sheet"); int csvRowI = 0; foreach (var ef in excelFilePaths.Select(path => ExcelFile.Load(path))) foreach (var ws in ef.Worksheets) for (int ri = 0; ri for (int ci = 0; ci "Result.csv");roopa bo4 reputationPosted Apr 23, 2015, 11:31 AM EDT
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 23, 2015, 8:32 PM EDT
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 23, 2015, 8:32 PM EDT
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 23, 2015, 8:32 PM EDT
roopa bo4 reputationPosted Apr 28, 2015, 7:29 AM EDT
Ram Boyapati10 reputationPosted Oct 25, 2017, 3:05 AM EDT