如何通过SSIS将特定范围内的数据从.CSV文件导入数据库表? [英] How do I import a data in a particular range from .CSV file to database table through SSIS?

查看:608
本文介绍了如何通过SSIS将特定范围内的数据从.CSV文件导入数据库表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Cell范围B61:F91中有数据。

如何使用SSIS将这些数据加载到SQL表中?

I have data in the Cell range B61:F91.
How do I load these data into SQL table using SSIS?

推荐答案

我可以告诉你程序。

1.将数据从excel导入sql server中的temparary表。使用excel数据源到sql

2.使用必要的连接写入查询以将数据从临时表导入到它们的实际表中。使用脚本任务执行查询。

3.一旦完成。从sql server中删除临时表。
Hi, I can tell you the procedure.
1. Import the data from excel to a temparary table in sql server. Using excel datasource to sql
2. write queries to import the data from temporary table to their actual tables using the necessary joins. Execute the queries using script task.
3. Once it is completed. Delete the temporary table from sql server.


这篇关于如何通过SSIS将特定范围内的数据从.CSV文件导入数据库表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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