Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I am having a task to create an SSIS package which performs some logic to extract the data from different tables for the user business operation and need to create an excel and export the data . Once the excel is created and saved in a perticular folder that need to be sent as an attchment.

As we dont have excel installed in the server and saving .csv is not working properly. Can any one suggest how to achieve this functionality. Also, Can any one comfirm whather we can create an excel from SSIS without installing MS excel ?

Thanks on advance

Regards
Prashant P
Posted

1 solution

The logical way to do this is to create a CSV. That way, Excel can open it, and you don't need any version of Excel installed, because you're just creating a text file. You say that's 'not working properly', but, it's really simple, so, don't cast about for another random solution, fix the code you have. Explain what 'not working properly' means, so we can help you fix it.
 
Share this answer
 
Comments
Prashant Bangaluru 8-Jan-14 5:34am    
Thanks for your response.. The table columns have the Special characters which making the csv come with wrong format..I have one doubt which need to be get it confirmed that without installing anyy excel cant we craete an excel file or we need to do any configurations in SSIS ?
Christian Graus 8-Jan-14 16:21pm    
You can't create Excel files without excel or another library. You'll have to fix your csv code. What special characters ?
Prashant Bangaluru 10-Jan-14 4:57am    
Its the semi colon in the csv files which is creating a prob as the cell data can have any no of special characters.

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