在Visual Studio 2008中使用SSIS包 [英] using SSIS package in Visual Studio 2008

查看:293
本文介绍了在Visual Studio 2008中使用SSIS包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.我有一个包含数百万条记录的sql表

2.当我发送一个sql查询时,sql表中有数千条记录的条件( sql查询可以同时更改)

3.现在我想将该记录发送到excel表。

4.以上所有步骤都可以完成在Visual Studio 2008中 SSIS包的帮助下

如何以编程方式执行上述步骤

1.i'm having a sql table with millions of records
2.when i'm sending a sql query with where condition to the sql table thousands of records are getting(sql query can be changed simultaneously).
3.Now i want to send that record to excel sheet.
4.All the Above Steps can be done with the help of SSIS package in Visual Studio 2008
how to do the above steps programatically

推荐答案

您好,



是的,您可以使用ssis达到上述条件。



在ssis中创建一个项目。然后从工具箱中拖动数据流任务,双击它

你将进入数据流选项卡。

这个去工具箱它与以前的工具箱不同



从源节sql数据源拖放..配置到你的db

然后如果你必须做一些数据过滤然后你可以使用一些可以使用的过滤工具

在选项卡上添加excel文件目标组件并通过连接器连接



运行程序
Hi,

Yes you can achive the above mentioned condition using ssis.

Create a project in ssis. then drag dataflow task from the tool box , double click on it
you will come to dataflow tab.
on this go to tool box its different then previous tool box

drag drop from source section sql data source.. configure to your db
then if you have to do some data filteration then you can use some of the filter tools avaiable
add excel file destination component on the tab and connect it though connector

run the program


这篇关于在Visual Studio 2008中使用SSIS包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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