MohitPandit
asked on
C#.NET: Extract Data from SQL Server to Excel
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
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
https://www.experts-exchange.com/questions/22681581/C-excute-select-query-save-result-in-excel-sheet.html
Check:
http://www.c-sharpcorner.com/UploadFile/lcamlibel/SqltoExcelDataTransferLC12012005073516AM/SqltoExcelDataTransferLC.aspx
Do you really need the windows service?
I will use simple query, check:
http://www.mssqltips.com/tip.asp?tip=1202
http://www.c-sharpcorner.com/UploadFile/lcamlibel/SqltoExcelDataTransferLC12012005073516AM/SqltoExcelDataTransferLC.aspx
Do you really need the windows service?
I will use simple query, check:
http://www.mssqltips.com/tip.asp?tip=1202
Why not use SSIS and schedule it with a SQL agent job? Less code, easy to build and easy to maintain.
ASKER
I have done using OLEDB 12.0. I will place code on Monday.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have developed myself. I hope that it will be helpful in community.