Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rachel_dba
Starting Member
1 Post |
Posted - 2008-02-22 : 15:20:05
|
i have a table which is like the followingsku itemcode101 01102 01103 02102 02101 04101 03and so on the values in both the sku and itemcode in the above table can vary at times i have to create another table dynamically wherei have to convert the itemcodes into columns therefore the table would look like thissku itemcode01 itemcode02 itemcode03 itemcode04 ........101 1 0 1 1102 1 1 0 0103 0 1 0 0........so on please help |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-02-23 : 01:12:11
|
Read about Cross-tab reports in sql server help fileMadhivananFailing to plan is Planning to fail |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-02-23 : 03:45:37
|
refer this:-http://www.mssqltips.com/tip.asp?tip=937 |
 |
|
|
|
|