SQL-J Language Reference
Page 23 of 121

DROP INDEX statement

DROP INDEX removes the specified index.

Syntax

DROP INDEX IndexName

Example

DROP INDEX OrigIndex

DROP INDEX DestIndex

Dependency System

If there is an open cursor on the table from which the index is dropped, the DROP INDEX statement generates an error and does not drop the index. Otherwise, statements that depend on the index's table are invalidated.