将.xlsx文件另存为.csv文件的SSIS过程 [英] SSIS process for saving .xlsx file as .csv file

查看:198
本文介绍了将.xlsx文件另存为.csv文件的SSIS过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从FTP服务器下载.xlsx excel文件并将其保存为.csv文件格式. 我现在可以使用SSIS中的ftp任务从服务器下载文件,并将其保存在本地文件夹中,现在我想将该文件另存为csv文件格式以进行导入过程.我找不到从.xlxs到csv的转换方法或任务.我尝试了脚本任务,但是没有用.有人可以帮忙吗?

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.

推荐答案

您可以添加脚本任务来实现此目的,并且可以在脚本内部使用Interop库:

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

这篇关于将.xlsx文件另存为.csv文件的SSIS过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆