This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:sql:statements:create_index:home [2010/05/10 22:26] tdo |
dev:sql:statements:create_index:home [2012/10/26 15:00] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
| <html><div align="center"><span style="color:red">DRAFT</span></div></html> | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | |||
| ====== Omnidex SQL: CREATE INDEX ====== | ====== Omnidex SQL: CREATE INDEX ====== | ||
| + | {{page>:sql_bar&nofooter&noeditbtn}} | ||
| + | |||
| ===== Description ===== | ===== Description ===== | ||
| + | The CREATE INDEX can specify Omnidex indexes. Typically, Omnidex indexes are specified in the CREATE TABLE statement for ease of maintenance. | ||
| ===== Syntax ===== | ===== Syntax ===== | ||
| - | <code SQL> | + | <code> |
| CREATE <OMNIDEX | QUICKTEXT | FULLTEXT | CUSTOM | NATIVE> INDEX [[(owner)]table.]index | CREATE <OMNIDEX | QUICKTEXT | FULLTEXT | CUSTOM | NATIVE> INDEX [[(owner)]table.]index | ||
| - | [ON table] (<column | substring> [, <column | substring>…] )] | + | [ON table_spec] (<column | substring> [, <column | substring>…] )] |
| [KEYWORDING] | [KEYWORDING] | ||
| [PROXIMITY] | [PROXIMITY] | ||
| Line 20: | Line 22: | ||
| IN “filename” | IN “filename” | ||
| [WITH options] | [WITH options] | ||
| - | <code> | + | </code> |
| - | + | ||
| - | ===== Discussion ===== | + | |
| - | + | ||
| - | == arg1 == | + | |
| - | + | ||
| - | == arg2 == | + | |
| - | + | ||
| - | ===== Examples ===== | + | |
| - | ==== Simple ==== | + | |
| - | CREATE OMNIDEX INDEX "households"."hs" | + | |
| - | on " | + | |
| - | ==== 2nd example ==== | ||
| {{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} | ||