Description
The SQL keyword DROP INDEX is used to delete an existing index permanently from a database.
Here is the syntax to drop an index on different database systems.
Database System | Syntax |
MySQL | ALTER TABLE table_name DROP INDEX index_name; |
SQL Server | DROP INDEX table_name.index_name; |
Oracle / DB2 | DROP INDEX index_name; |
MS Access | DROP INDEX index_name ON table_name; |