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

Parameters

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

move-object clause – Requires one of:
  • ALTER ANY INDEX system privilege.
  • ALTER ANY OBJECT system privilege.
  • REFERENCE permission on the underlying table.
  • You own the underlying table
rename-object clause – Requires one of:
  • ALTER ANY INDEX system privilege.
  • ALTER ANY OBJECT system privilege.
  • MANAGE ANY DBSPACE
  • One of the following:
    • You own the underlying table being indexed.
    • REFERENCE privilege on the table along with one of the following:
      • CREATE ANY OBJECT system privilege.
      • CREATE privilege on the target dbspace.