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
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
Is record in pl sql?
State few characteristics of pl/sql?
Is it possible to read/write files to-and-from PL/SQL?
What are its different types of dbms?
What is a stored procedure in sql with example?
What is the use of count (*) in sql?
what is a unique key ? : Sql dba
Do we need to rebuild index after truncate?
how to use myisamchk to check or repair myisam tables? : Sql dba
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
Is null operator in sql?
What does partition by mean in sql?
Can you have more than one key in a database?