DB2 Version 9.7 for Linux, UNIX, and Windows

Modifying indexes

If you want to modify your index, other than using the ALTER INDEX statement to enable or disable index compression, you have to drop the index first and then create the index again.

About this task

For example, you cannot add a column to the list of key columns without dropping the previous definition and creating a new index. You can, however, add a comment to describe the purpose of the index using the COMMENT statement.