将 .xlsx 文件另存为 .csv 文件的 SSIS 过程

SSIS process for saving .xlsx file as .csv file(将 .xlsx 文件另存为 .csv 文件的 SSIS 过程)

本文介绍了将 .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.

推荐答案

您可以添加一个脚本任务来实现这一点,并且您可以在脚本内部使用互操作库:

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

  • 将 XLSX 文件转换为 CSV 文件
  • 转换 .xlsx &.xls 到 .csv
  • 如何将 Excel 转换为使用 Interop 的 CSV

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

本文标题为:将 .xlsx 文件另存为 .csv 文件的 SSIS 过程

基础教程推荐