i have a table like
table1
aa bb cc dd
1 2 3 4
5 6 7 8
i need to convert columns in to rows...............( to use in reporting)
table2
aa 1 5
bb 2 6
cc 3 7
dd 4 8
and the number of columns/rows are not fixed..........as this table1 is present in cursor.......for each iteration the number of columns may change........................
thanks in advance