New Excel file with different format want to import data to sql table using ssis

家住魔仙堡 提交于 2020-01-06 14:16:12

问题


this is my file please tell me how can I insert date and price cell C4 and C21 into table please help I took excel source and setsOpenRowSetproperty toSHEET$C4:C21` but which is giving me only one column and invalid data also please help.


回答1:


You may achieve this using a script task in your package. But consider using SSRS instead. I think this is what SSRS made for.

With SSRS you can make a report using BIDS or also you can create a local report with Visual Studio inside of an (e.g.) ASP.NET application. With the ASP.NET ReportViewer component you can visualize your report and export it to Excel as well. You can even export programmatically if you should do this.

Here is a tutorial how to use SSRS together with ASP.NET ReportViewer. Another turorial for how to use exporting functionality.



来源:https://stackoverflow.com/questions/7482470/new-excel-file-with-different-format-want-to-import-data-to-sql-table-using-ssis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!