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 happens to indexes if you drop a table?

0 Answers  


primary key is foreign key for the same table?

2 Answers   Oracle,


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

1 Answers   IBM,


What is oracle join syntax?

0 Answers  


what is the syntax of DROP command?

10 Answers  






How to define an external table with a text file?

0 Answers  


What is a SNAPSHOT ?

1 Answers  


How to view existing locks on the database?

0 Answers  


What are named parameters?

0 Answers  


What is a Private Synonyms ?

1 Answers  


Will the Optimizer always use COST-based approach if OPTIMIZER_MODE is set to "Cost"?

1 Answers  


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)