You can create text indexes on columns of any type. Columns that are not of type VARCHAR or NVARCHAR are converted to strings during indexing. See Data type conversions.
Text indexes consume disk space and need to be refreshed. Create them only on the columns that are required to support your queries.
You cannot create a text index on a materialized view, a regular view, or a temporary table.
Do not create more than one text index referencing a column since this can return unexpected results.
Use the SQL Anywhere 12 plug-in to 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.
Click the Text Indexes tab.
Choose File » New » Text Index.
Follow the instructions in the Create Index Wizard.
The new text index appears on the Text Indexes tab. It also appears in the Text Indexes folder.
If you created an immediate refresh text index, it is automatically populated with data. For other refresh types, you must refresh the text index by right-clicking it and choosing Refresh Data.
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. See CREATE TEXT INDEX statement.
If you created an immediate refresh text index, it is automatically populated with data. For other refresh types, you must refresh the text index by executing a REFRESH TEXT INDEX statement. See REFRESH TEXT INDEX statement.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |