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
What is an Oracle Instance?
How do you bind variables in oracle?
How to drop a tablespace?
How to establish administrator authentication to the server?
How to assign values to data fields in record variables?
How to create a table interactively?
What is oracle host variable?
What is SQL Tuning Advisor in Oracle?
What is a cognitive schema?
How to login to the server without an instance?
What are the advantages of oracle?
What privilege is needed for a user to connect to oracle server?
what is the scenario where you take the database to NoArchivelog mode?
What is the difference between 10g OEM and 11g OEM?
Why do you use stored procedures and state some of its disadvantages?