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 |
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.
How to process query result in pl/sql?
Types of joins ?
What is Difference Between Unique and Primary Key Constraints?
What is pragma in pl sql?
What is a schema sql?
When is the update_statistics command used?
Is it possible for a table to have more than one foreign key?
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...
What are the different dml commands in sql?
what is global variable in package
Explain the difference between 'between' & 'and' operators in sql
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)