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
How do I use os authentication with weblogic jdriver for oracle and connection pools?
How to assign a tablespace to a users in oracle?
Write a syntax for update query in oracle?
How do you store pictures in a database?
how to handle exceptions in post production
Why do we need oracle client?
How to use subqueries with the exists operator in oracle?
How can I combine multiple rows into a comma-delimited list in oracle?
Why is oracle so popular?
How to call a stored function in oracle?
How to use existing values in update statements using oracle?
How to create a single index for multiple columns?
State and explain about oracle instance?
what are archived logs?
How to start your 10g xe server?