How to load dynamically created excel into DB table (SQL Server 2012) using SSIS

  • Hi All,

    I need to load excel sheet data into database table in SQL Server (2012) using SSIS (2012). The columns of the excel sheet are more than 800 and they are not static. The excel sheet will be provided at monthly basis with different number of columns and number and nature of the columns will vary each month.For example in July 2013, there are 850 columns in the excel sheet and in August 2013, it can be expected 900 columns in the excel sheet. We have to import the excel sheet into the database table. The target table will be created each time before loading the table from excel sheet. The columns of the target table will be determined by reading the header columns in the excel sheet.

    Please help me out to get the solution for the above problem.

  • This could be solved using the Excel Object Model in a Script Task, bit it would be quite involved to program such a thing and really wouldn't require SSIS at all since all code and data access would be nothing more than a .net script.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • Talk about abusing Excel...

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • What excel object model runs on a server?

  • Marzipan (7/8/2013)


    What excel object model runs on a server?

    http://blogs.msdn.com/b/vsto/archive/2013/03/06/office-developer-tools-for-visual-studio-2012-now-available.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply