Name
.indices — Display all of the indexes associated with one or more tables
Common Usage
.indices [table-pattern]Description
The .indices command displays the name of different
indexes in the main database.
If no parameter is given, the name of every index will be
displayed. If an optional table matching pattern is given, the
name of any index associated with a table that matches the
provided LIKE pattern will be
displayed. Only one table pattern is permitted. Index names will
be returned one per line,
with no additional information.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access