DROP TEXT INDEX statement

Removes a text index from the database.

Syntax
DROP TEXT INDEX text-index-name 
ON [ owner.]table-name
Parameters
  • ON clause   Use this clause to specify the table on which the text index is built.

Remarks

You must drop dependent text indexes before you can drop a text configuration object.

Permissions

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

This statement cannot be executed when there are cursors opened with the WITH HOLD clause that use either statement or transaction snapshots. See Snapshot isolation.

Side effects

Automatic commit

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement creates a text index, TextIdx, and then drops it:

CREATE TEXT INDEX TextIdx ON MarketingInformation ( Description )
DROP TEXT INDEX TextIdx ON MarketingInformation;