简体   繁体   English

如何使用 SSIS 脚本或 Azure 逻辑应用程序任务将 excel 文件从一个 Azure blob 容器转换为另一个

[英]How to convert excel file to CSV using SSIS Script or Azure Logic apps task from One Azure blob container to another

Receiving an excel file every day with one sheet(Sheet name will be the different every time) and that will be stored in Azure Blob container and is there any possibility to convert the excel to CSV either by using SSIS script Task or Azure Logic Apps.每天接收一个带有一张工作表的 excel 文件(工作表名称每次都会不同),并将存储在 Azure Blob 容器中,是否有可能通过使用 SSIS 脚本任务或 Azure 逻辑应用程序将 excel 转换为 CSV。

Any help would be appreciated.任何帮助,将不胜感激。 Thank you.谢谢你。

There are many ways we can do that.我们有很多方法可以做到这一点。

With Logic app, you could ref the answer here :使用 Logic 应用程序,您可以在此处参考答案:

Converting should be pretty easy.转换应该很容易。 On high level, you can do following:在高层次上,您可以执行以下操作:

  1. Use Excel connector to read into the content of the excel file使用Excel连接器读入excel文件的内容
  2. Use Data Operations - Create CSV Table to create a CSV format populated with dynamic data from step #1使用数据操作 - 创建 CSV 表来创建一个 CSV 格式,其中填充了第 1 步中的动态数据
  3. Use Azure Blob Connector to create and save the new csv file on the blob storage使用Azure Blob 连接器在 Blob 存储上创建和保存新的 csv 文件

Since the excel is stored in Blob Storage, I would suggest you use Data factory , it supports Excel file directly:由于 excel 存储在 Blob Storage 中,我建议您使用Data factory ,它直接支持Excel 文件

Create the Source dataset:创建源数据集: 在此处输入图片说明

Create Sink dataset: set the new csv file name:创建 Sink 数据集:设置新的 csv 文件名: 在此处输入图片说明

Copy active overview:复制活动概览: 在此处输入图片说明

It works well and very easy and directly:它运行良好,非常简单直接: 在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Azure 逻辑应用创建 Blob 容器? - How to create a blob container with Azure Logic Apps? 如何从 azure blob 获取 csv 文件并使用逻辑应用程序将端点摄取到 Azure 事件中心? - How to get csv file from azure blob and ingest endpoint into Azure Event Hub using logic app? 如何使用 Azure Blob 存储 SDK 将 Blob 从一个容器复制到另一个容器 - How to copy a blob from one container to another container using Azure Blob storage SDK "如何在 Python 中将 Azure Blob 文件 CSV 转换为 Excel" - How to convert Azure Blob file CSV to Excel in Python 如何使用逻辑应用程序与用于大文件的 azure 函数从 blob 存储上传文件 - how can I upload a file from blob storage using logic apps vs azure functions for large files 在 SSIS 中使用 Azure Blob 源从 Azure 存储容器中提取文件时出现“Azure Blob 源 400 错误请求” - “Azure Blob Source 400 Bad Request” when using Azure Blob Source in SSIS to pull a file from Azure Storage container 如何使用Azure Logic Apps将推文插入excel文件 - How to insert tweets into a excel file using Azure Logic Apps Python:如何将 Azure Blob 从一个容器移动或复制到另一个容器 - Python: How to move or copy Azure Blob from one container to another 如何使用逻辑应用程序将 blob 从一个容器复制到另一个容器 - How to copy blob from one container to another using Logic App 从 Azure blob 中读取 excel 数据并使用 Python azure 函数转换为 csv - Read excel data from Azure blob and convert into csv using Python azure function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM