Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:update_indexes [2010/05/10 22:49]
tdo
dev:sql:update_indexes [2012/10/26 14:51] (current)
Line 9: Line 9:
  
 If the Omnidex indexes have been previously synchronized,​ then the UPDATE INDEXES statement will re-use the existing index files by first removing the existing index information and re-synchronizing the Omnidex indexes by re-reading the data. If the Omnidex indexes have been previously synchronized,​ then the UPDATE INDEXES statement will re-use the existing index files by first removing the existing index information and re-synchronizing the Omnidex indexes by re-reading the data.
- 
 ===== Syntax ===== ===== Syntax =====
-===== Examples ===== 
  
 +<​code>​
 +UPDATE INDEXES [FOR <​ENVIRONMENT [environment] ​
 +                    DATABASE database |
 +                    TABLE table | 
 +                    COLUMN column | 
 +                    INDEX index > ] 
 +                [ON [INSTANCE] instance]
 +                [WITH options]
 +</​code>​
 +===== Examples =====
 +==== Update Indexes for DATABASE ====
 <​code>​ <​code>​
 odxsql> update indexes for database SIMPLE odxsql> update indexes for database SIMPLE
Line 23: Line 32:
 odxsql> odxsql>
 </​code>​ </​code>​
- +==== Update Indexes for TABLE ==== 
-=== Example ​=== +<​code>​ 
-odxsql> update indexes for table states+odxsql> update indexes for database simple ​table states
 Update indexes for STATES Update indexes for STATES
 Omnidex indexes updated ... Omnidex indexes updated ...
 odxsql> odxsql>
 +</​code>​
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
dev/sql/update_indexes.1273531752.txt.gz · Last modified: 2012/10/26 14:47 (external edit)