ALTER TEXT INDEX Statement

Alters the definition of a TEXT index.

Syntax

ALTER TEXT INDEX [ owner.]text-index-name
  ON [ owner.]table-name
  alter-clause

alter-clause :
   rename-object | move-object

rename-object :
   RENAME { AS | TO } new-name

move-object:
   MOVE TO dbspace-name

Examples

Usage

Use ALTER TEXT INDEX to rename or move the TEXT index.

RENAME clause – rename the TEXT index.

MOVE clause – move the TEXT index to the specified dbspace.

Side Effects:
  • Automatic commit.

Permissions

Must be the owner of the underlying table, or have DBA authority, or have REFERENCES permission to rename the index.

To move the TEXT index, you must have DBA or SPACE ADMIN authority, or you must be the table owner and have CREATE permission on the dbspace.