使用SSIS包将多个Excel文件导入SQL Server 2008 R2吗? [英] Import multiple Excel files into SQL Server 2008 R2 using SSIS Packages?

查看:127
本文介绍了使用SSIS包将多个Excel文件导入SQL Server 2008 R2吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用SSIS打包将数据从两个不同的excel工作表插入两个表中.

I have to insert data into two tables from two different excel sheets using SSIS packges.

所以,请告诉我如何使用SSIS包将多个Excel文件导入SQL Server 2008 R2?

So, please some one tell me How to import multiple Excel files into SQL Server 2008 R2 using SSIS Packages?

推荐答案

因为您只有2个excel文件和只有两个表,所以我看不到为什么要使用foreach循环.只需遵循链接并直接执行

since you have only 2 excel files and only two tables I don't see why use a foreach loop. Just follow this link and do it directly

如果您需要将两个excel文件都插入两个数据库中,则可以使用多播组件来创建数据集的副本

If you need to insert from both excel files to both databases you can use a multicast component to create a copy of a dataset

这篇关于使用SSIS包将多个Excel文件导入SQL Server 2008 R2吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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