Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Converting multiple column in single column

User_1J44GApr 9 2013 — edited Apr 9 2013
Hi All,

I need to create a table with single column by using select statement with multiple columns
For Ex- i have 1 row with 10 columns (may be more than 10) like
'A','B','C','D','E','F','G','H',I','J'
i written sql like
select 'A','B','C','D','E','F','G','H','I','J' from dual

result is - 'A','B','C','D','E','F','G','H','I','J' with 10 columns

Now i need output lik this using SQL
Text
------
'A'
'B'
'C'
'D'
'E'
'F'
'G'
'H'
'I'
'J'

Please help me to sort out this problem. Your help would highly appropriated.
Regards
Raju

Edited by: 888667 on Apr 8, 2013 10:54 PM

Edited by: 888667 on Apr 8, 2013 10:56 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2013
Added on Apr 9 2013
6 comments
1,015 views