Click here to Skip to main content
15,902,275 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 6-Dec-13 1:31am
v2
Comments
[no name] 6-Dec-13 7:06am    
What is your question..??
Boothalingam 6-Dec-13 7:08am    
How to do the above steps programattically?

1 solution

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
 
Share this answer
 
Comments
Boothalingam 6-Dec-13 7:14am    
can u send any example?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900