Answers for "get indexes of table"

SQL
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