ex. one table is having 1 column with 10 records ,
then how to display all the values in row wise ?

Answer Posted / vipul

column can be convert in row by using PIVOT function in ORACLE

for eg:

SELECT * FROM(SELECT VMENUNAME,NMENUNO FROM MENU_MASTER) A
PIVOT(MAX(VMENUNAME) FOR NMENUNO IN (6,7,8,9,10,11,1)) PVT

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle wallet?

674


How to load data through external tables?

858


How to create lov dynamically at runtime & attach to text field?

882


What is Trigger in Oracle?

790


How to estimate disk space needed for an export job?

759


What are the uses of a database trigger?

706


How to enter a new row into a table interactively?

754


how to make an oracle object

2089


How to create a stored procedure in oracle?

801


How to define an anonymous procedure with variables?

755


Design database draw er diagram for a certain scenario ?

4318


How to create a new user account in oracle?

782


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

1759


What is private procedure oracle?

758


What is a static data dictionary in oracle?

757