SSIS to create flat files from data in two tables -


i need create flat file data in 2 separate tables looks below

table 1:-

messageid|storeid   1        1234   2        5678 

table 2:-

messageid|productid|quantity|pickmethod   1        1111       3         z   1        0923       5         g   1        4323       1         z   2        9343       2         g   2        2334       6         z   2        2331       7         z 

in above 2 tables messageid foreignkey b/w 1 , table 2

i need create flat file looks below

0,xyz,20130303 1,1234 2,1111,3,z 2,0923,5,g 2,4323,1,z 1,5678 2,9343,2,g 2,2334,6,z 2,2331,7,z 9,10 

in above file row starting 0 header , row starting 1 storeid , rows starting 2 details particular store(productid,quantity ...)

thanks


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -