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 move Horizontal result set into Vertical.

831217Apr 27 2011 — edited Apr 28 2011
Hi,
I have a requirement where i need to translate my records from Horizontal to Vertical.

Consider a scenerio:

Table X having A and B columns. This table has only 1 record having values A' and B' respectively

I want my output to come in this form( in the form of ref cursor):

A A'
B B'

Please suggest.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2011
Added on Apr 27 2011
5 comments
779 views