Answers for "mysql show indexes"

SQL
3

show indexes mysql

SHOW INDEX FROM yourtable;
Posted by: Guest on May-20-2020
1

how to see which columns are indexxed mysql

SHOW INDEXES FROM table_name;
Posted by: Guest on May-05-2020
1

check all indexes on table

SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'yourschema' and tablename='yourtable'
ORDER BY
    tablename,
    indexname;
(POSTRGRESQL)
Posted by: Guest on June-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language