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...

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

What is a unique key?

1034


give the syntax of grant and revoke commands? : Sql dba

1138


What are different functions in sql?

924


What is pessimistic concurrency control? : Transact sql

1069


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

979


What is sql not null constraint?

1010


how is myisam table stored? : Sql dba

1036


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

1035


What's the difference between a primary key and a clustered index?

976


Can we create index on primary key?

949


List different type of expressions with the example.

928


What is out parameter used for eventhough return statement can also be used in pl/sql?

1058


How to add, remove, modify users using sql?

1021


Can ddl statements be used in pl/sql?

1121


What are reports usually used for?

1007