how to get the index id?



how to get the index id?..

Answer / su

we can use USER_INDEXES or DBA_INDEXES
sql> desc user_indexes
index_name
index_type
table_owner
table_name
table_type
and plenty of other columns

sql>SELECT index_name
FROM user_indexes
WHERE table_name = 'EMP';
will give us the index_name, which is how we identify an
index

:) hope this helps

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Oracle General Interview Questions

What are set operators?

0 Answers  


What are the uses of Rollback Segment ?

2 Answers  


What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?

2 Answers  


hai, when to use char and varchar2....?

2 Answers  


Difference between pre-select and pre-query

0 Answers  






what is the syntax of ALTER command?

8 Answers  


What is Oracle table?

1 Answers  


How to build data dictionary view an new database?

0 Answers  


The table has 3 columns 4 rows. The output is which column has least null values( A COL SHOULD BE THE OUTPUT) Write the query plz. A B C ================ 1 NULL 2 NULL 3 4 NULL 5 6 7 NULL NULL O/P C = 2 4 6

2 Answers   TCS,


How can we Update a table with out using UPDATE command?

1 Answers  


Explain the use of log option in exp command.

0 Answers  


how to join query for one source type is oracle another source type is sql server ?

0 Answers   iGate,


Categories
  • Oracle General Interview Questions Oracle General (1790)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)