DROP INDEX

Name

DROP INDEX  --  Removes existing indexes from a database

Synopsis

DROP INDEX index_name [, ...]
  

Inputs

index_name

The name of an index to remove.

Outputs

DROP

The message returned if the command completes successfully.

ERROR: index "index_name" does not exist

This message occurs if index_name is not an index in the database.

Description

DROP INDEX drops an existing index from the database system. To execute this command you must be the owner of the index.

Notes

Refer to CREATE INDEX for information on how to create indexes.

Usage

To remove the title_idx index:

    DROP INDEX title_idx;

Compatibility

SQL92

There is no DROP INDEX statement in SQL92.