DROP INDEX deletes an index.
Only the owner of an index or a system administrator can run DROP INDEX command.
1 2 | DROP INDEX [ IF EXISTS ] index_name [, ...] [ CASCADE | RESTRICT ]; |
Sends a notice instead of an error if the specified index does not exist.
Specifies the name of the index to be deleted.
Value range: An existing index.
Delete the ds_ship_mode_t1_index2 index.
1 | DROP INDEX tpcds.ds_ship_mode_t1_index2; |