O'Reilly logo

Using SQLite by Jay A. Kreibich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

index_list — List all indexes associated with a table

Common Usage

PRAGMA [database.]index_list( table_name );

Description

The index_list pragma lists all of the indexes associated with a table. The result set will contain one row for each index.

Column nameColumn typeMeaning
seq IntegerIndex sequence number
name TextName of index
unique IntegerIs UNIQUE index

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required