etl - SSIS Design pattern for Multiple XLSB File sheets to multiple tables -
there xlsxb files , each of these consists of varying number of sheets (consists of upto 9 sheets) .all sheets of different structure.the requirement laoad specific named sheet data corresponding table.the specific named sheet may or may not appear in xlsb files.
example:
1st xlsb file consists of 9 sheets( sh1,sh2,...,sh9) 2nd xlsb file consists of 6 sheets(sh1,sh5,sh6,sh7,sh9,sh2) 3rd xlsb file consists of 3 sheets(sh5,sh7,sh9) idea sh9 colleted in on table called table_sh9.all sh5 has in table_sh5 ssis design pattern can followed this.
to have dynamic recommend script task. can openxml , closedxml read data.
https://closedxml.codeplex.com/
i read header determine table loading to, create datareader input , feed datareader sqlbulkcopy.
i have similar solution automatically create tables me , use datastreams library -> https://www.csvreader.com/
Comments
Post a Comment