how can you see all indexes defined for a table? : Sql dba



how can you see all indexes defined for a table? : Sql dba..

Answer / Siddhartha Bhasin

To see all indexes defined for a table in MySQL, you can use the SHOW INDEX FROM command. For example, if your table is named 'mytable', you can list its indexes with: SHOW INDEX FROM mytable;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Let us suppose we have a table with structure in order empno empname empdesig empcountry and now i want to re-organize the columns of this table to empno empdesig empname empcountry how can i do this with queries ? assume that table contains the data.

3 Answers  


How to process query result in pl/sql?

1 Answers  


Types of joins ?

11 Answers   Polaris, TCS,


What is Difference Between Unique and Primary Key Constraints?

1 Answers   Wipro,


What is pragma in pl sql?

1 Answers  


What is a schema sql?

1 Answers  


When is the update_statistics command used?

1 Answers  


Is it possible for a table to have more than one foreign key?

1 Answers  


1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...

1 Answers   Satyam,


What are the different dml commands in sql?

1 Answers  


what is global variable in package

3 Answers   Polaris,


Explain the difference between 'between' & 'and' operators in sql

1 Answers  


Categories