Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to list all user accounts in oracle?

1032


What is transaction control statement and how many types of transaction control statement in Oracle?

1165


What is a synonym? What are its various types?

1116


What are the parameters that we can pass through a stored procedure?

1070


In which language oracle has been developed?

1081


What is clustered table in Oracle?

1205


How do I know if oracle client is installed on windows?

1031


What is a tns service name?

1015


What is oracle update statement with inner join ?

1069


How many types of segments in Oracle?

1077


Assuming that you are an End User How to find that in the payment Batch some of the Invoice was  Missing To pay How to find That??

1742


What is an index associated with a constraint?

1043


What is the implicit cursor in oracle?

1116


does the query needs a hint to access a materialized view?

1867


How to create a table index?

1157