unpivot issue


hi excel have source below..

kindly me on unpivot , move table

location total avail opt sold avail opt sold avail opt sold avail opt sold
india 132 62 9 61 66 3 63            
china 66 20 1 45 24 0 42            
usa 49 10 0 39 11 0 38            


shanmugaraj

the number of columns with avail opt sold are  dynamic , can grow on each week / month .. 

hi shanmugaraj,

below link helps in unpivoting data excel , move table

http://www.mssqltips.com/sqlservertip/1761/how-to-use-the-unpivot-data-flow-transform-in-sql-server-integration-services-ssis/

regards

naveen



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Motherboard replacement

Top N or Bottom N filter based on a parameter

Remote Desktop App - Error 0x207 or 0x607