SSIS process for saving .xlsx file as .csv file

坚强是说给别人听的谎言 提交于 2019-12-18 09:31:50

问题


I am trying to download a .xlsx excel file from FTP server and save it in a .csv file format. I was able to download a file from server using ftp task in SSIS and save it in a local folder now I want to save that file as csv file format for import process. I could not find a conversion method or task from .xlxs to csv. i tried script task but it didn't work. can someone please help.


回答1:


You can add a Script task to achieve this, and inside the script you can use Interop Library:

  • Converting XLSX file using to a CSV file
  • Convert .xlsx & .xls to .csv
  • How to Convert Excel to CSV using Interop



回答2:


The simplest way to do that will be to use an Excel source and a Flat File Destination (set it as a CSV). Hope it helps.



来源:https://stackoverflow.com/questions/50122319/ssis-process-for-saving-xlsx-file-as-csv-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!