How to get the 3rd column(i.e all the data along with the
column name)in a table?

Answer Posted / ramesh

Column Names of a table are stored in the data dictionary
table user_tab_columns along with column_id. By referring
column_id we can display the column name as :

select column_name from user_tab_columns where table_name
= 'EMP' and column_id = 3;

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which join is default?

519


Is sql procedural language?

550


Is oracle and sql same?

569


What is raw datatype in sql?

549


How many clustered indexes can you have?

529






How can you get sql*loader to commit only at the end of the load file? : aql loader

552


How to order siblings in oracle hierarchy queries?

597


What is difference between pl and sql?

528


Does postgresql run on the cloud?

586


How do sql triggers work?

550


How do I run a program in pl sql?

497


What are the qualities of 2nf?

541


What is the file extension for sql database?

515


What are sql constraints?

564


What is sql exception?

515