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!

how to use unpivot

kumar73May 11 2012 — edited May 24 2012
Hello Friends ,

I have a table called serialnumber with column listvalues that has comma separeted values

example

select listvalues from serialnumber ;

lisvalues
----------------
dfdfd,fdfds,dfdfdf,erere,erere,erere,erere,
dsfsdf
dfsfsd,dfsfs,sdfsfs,fdsfs,dfsfsd


I want to convert each listvalues to rows for example for first row of the output ..


listvalues
---------------
dfdfd
fdfds
dfdfdf
erere
erere
erere
erere


I know we have to use UNPIVOT but could not able to use to implemnet.

thanks/kumar
This post has been answered by Stew Ashton on May 14 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2012
Added on May 11 2012
22 comments
958 views