You can change the name of a text index, or change its refresh type.
To alter the refresh type for a text index (Sybase Central)
Connect to the database as a user with DBA authority, or as the owner of the table on which the text index is built.
In the left pane, click Text Indexes.
Right-click the text index and choose Properties.
Edit the text index properties and click OK.
To alter the refresh type for a text index (SQL)
Connect to the database as a user with DBA authority, or as the owner of the text index.
Execute an ALTER TEXT INDEX statement.
For example, the following statement changes the txt_index_manual text index to refresh every 6 hours.
ALTER TEXT INDEX txt_index_manual ON Products AUTO REFRESH EVERY 6 HOURS; |
To rename a text index (Sybase Central)
Connect to the database as a user with DBA authority, or as the owner of the table on which the text index is built.
In the left pane, click Text Indexes.
Right-click the text index and choose Properties.
Click the General tab and type a new name for the text index.
Click OK.
To rename a text index (SQL)
Connect to the database as a user with DBA authority, or as the owner of the text index.
Execute an ALTER TEXT INDEX statement.
For example, the following statement renames the txt_index_manual text index to new_txt_index.
ALTER TEXT INDEX txt_index_manual ON Products RENAME AS new_txt_index; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |