Skip to main content
Version: V1.4.0

DROP INDEX

Description​

This statement is used to drop an index. When there are too many indexes, the maintenance cost increases. Therefore, unnecessary indexes need to be dropped.

Syntax​

DROP INDEX index_name
   ON table_name;

Parameters​

ParameterDescription
index_nameThe name of the index.
table_nameThe name of the table.

Examples​

Drop the idx_test index from the tbl_test table.

DROP INDEX idx_test ON tbl_test;