[英]Is it possible to export a single table from Azure sql database, then directly save into azure blob storage without downloading it to local disk
I've tried to use SSMS, but it requires a temporary location for the BacPac file which is local.我尝试使用 SSMS,但它需要一个本地 BacPac 文件的临时位置。 But i don't want to download it to local, would like to export a single table directly to Azure Blob storage.
但我不想将其下载到本地,想将单个表直接导出到 Azure Blob 存储。
Per my experience, we could import table data from the csv file stored in blob storage.根据我的经验,我们可以从存储在 blob 存储中的 csv 文件中导入表数据。 But didn't find a way to export the table data to Blob Storage as csv file directly.
但是没有找到直接将表数据作为 csv 文件导出到 Blob Storage 的方法。
You could think about using Data Factory .您可以考虑使用数据工厂。
It can achieve that, please reference bellow tutorials:它可以实现,请参考以下教程:
Using Azure SQL database as the Source, and choose the table as dataset:使用 Azure SQL 数据库作为源,并选择表作为数据集:
Source dataset:源数据集:
Source:资源:
Using Blob storage as Sink, and choose the DelimitedText as the sink format file:使用 Blob 存储作为 Sink,并选择 DelimitedText 作为 sink 格式文件:
Sink dataset:接收器数据集:
Sink:下沉:
Run the pipeline and you will get the csv file in Blob Storage.运行管道,您将在 Blob 存储中获得 csv 文件。
Also thanks for the tutorial @Hemant Halwai provided for us.还要感谢@Hemant Halwai 为我们提供的教程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.