row to column convert [message #634988] |
Wed, 18 March 2015 11:56 |
|
jaggy
Messages: 15 Registered: November 2014 Location: India
|
Junior Member |
|
|
Hi ,
I have a table and the data in one column, I want to convert the records in the table to columns. I tried using decode or case statement but the number of rows(values) is not constant. So I am not able convert all the rows to columns as the no of values are not constant. Can some body please help here?
Source Table:
source_column
abc
def
ghk
ijk
lmn
opq
|
|
Target Table:
Table b
abc def ghk ijk lmn opq columnx columny - - -
|
|
|
|
|
|