?
Solved

C#.NET: Extract Data from SQL Server to Excel

Posted on 2011-03-02
6
Medium Priority
?
620 Views
Last Modified: 2012-05-11
Hello,

I am developing a window service in C#.NET which will extract 7 tables into excel at particular time.

Note: The volume of data per table would be 60,000 to 80,000 records. Also, I am having [Text], Varchar(Max), bit, money data type in few tables.

Do anyone have any feedback / suggestion on it?

Best Regards,
Mohit Sharma
0
Comment
Question by:MohitPandit
6 Comments
 
LVL 36

Expert Comment

by:Miguel Oz
ID: 35023177
0
 
LVL 8

Expert Comment

by:Volox
ID: 35028636
Why not use SSIS and schedule it with a SQL agent job?  Less code, easy to build and easy to maintain.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
LVL 5

Author Comment

by:MohitPandit
ID: 35171390
I have done using OLEDB 12.0. I will place code on Monday.
0
 
LVL 5

Accepted Solution

by:
MohitPandit earned 0 total points
ID: 35459088
0
 
LVL 5

Author Closing Comment

by:MohitPandit
ID: 35496402
I have developed myself. I hope that it will be helpful in community.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question