Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Queries and data modification » Full text search » What is full text search? » Alter a text index

 

Altering a text index

Change the name of a text index, or change its refresh type.

Prérequis

To alter a text index on a table, you must be the owner of the table or have one of the following privileges:

  • ALTER ANY INDEX system privilege
  • ALTER ANY OBJECT system privilege
  • REFERENCES privilege on the table and either the COMMENT ANY OBJECT system privilege, the CREATE ANY INDEX system privilege, or the CREATE ANY OBJECT system privilege

To alter a text index on a materialized view, you must be the owner of the materialized view or have one of the following privileges:

  • ALTER ANY INDEX system privilege
  • ALTER ANY OBJECT system privilege

You cannot alter a text index to refer to a different text configuration object. If you want a text index to refer to another text configuration object, drop the text index and recreate it specifying the new text configuration object.

You cannot change a text index to, or from, IMMEDIATE REFRESH; to make this change, you must drop the text index and recreate it.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. In the left pane, click Text Indexes.

  3. Right-click the text index and click Properties.

  4. Edit the text index properties.

    You can rename the text index on the General tab.

  5. Click OK.

Résultat

The text index is altered.

 See also