To create a text index (Sybase Central)
Connect to the database as a user with DBA authority, or as the owner of the table on which you are creating the text index.
In the left pane, click Tables.
Double-click the table on which you want to create a text index.
Click the Text Indexes tab.
Choose File » New » Text Index.
The Create Index Wizard appears.
Follow the instructions in the wizard.
The new text index appears on the Text Indexes tab. It also appears in the Text Indexes folder.
To create a new text index (SQL)
Connect to the database as a user with DBA authority, or as the owner of the table on which you are creating the text index.
Execute a CREATE TEXT INDEX statement.
For example, the following statement creates a text index called txt_index_manual on the Description column of the Products table in the demo database:
CREATE TEXT INDEX txt_index_manual ON Products ( Description ) MANUAL REFRESH; |
Since the text index is defined as MANUAL REFRESH, you need to refresh it using the REFRESH TEXT INDEX statement.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |