Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQL As Understood By SQLite

### DROP INDEX

sql-command ::= | DROP INDEX [IF EXISTS] [database-name .] index-name

The DROP INDEX statement removes an index added with the CREATE INDEX statement. The index named is completely removed from the disk. The only way to recover the index is to reenter the appropriate CREATE INDEX command.

The DROP INDEX statement does not reduce the size of the database file in the default mode. Empty space in the database is retained for later INSERT statements. To remove free space in the database, use the VACUUM command. If auto_vacuum mode is enabled for a database then space will be freed automatically by DROP INDEX.

This page last modified 2008/04/27 17:48:52 UTC