SSIS包将为每个城市自动创建一个excel文件? [英] SSIS package that will create automatic a excel file for every city?

查看:92
本文介绍了SSIS包将为每个城市自动创建一个excel文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个SSIS包,它将从SQL表读取数据并为一个国家的每个城市创建一个Excel文件,该文件将保留该城市的所有信息。我的问题是如何创建大约175个Excel文件,我知道如何使用条件分割创建2或3?但是175





例如:我的SQL表中有以下字段



名称 - >约翰,姓氏 - >史密斯,地址 - > M街,城市 - >迈阿密



所以我会有创建一个Excel文件,其中包含每个城市的人员数据

I am doing a SSIS package, that will read the Data from the SQL table and will create a Excel file for every city of a country, in that file will keep all the information of that city. My Question is how you create about 175 Excel file, I know how to create 2 or 3 with the Conditional Split ? but 175


For Example : I have the following fields in my SQL table

Name-->John, Last name ->Smith, Address->M street, city->Miami

so I will have to create a Excel file with the data of the people for each city

推荐答案

您可以使用此 ForEach循环


这篇关于SSIS包将为每个城市自动创建一个excel文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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