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_table:syntax [2010/07/07 21:48] els |
dev:sql:statements:create_table:syntax [2012/10/26 15:00] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| [[dev:sql:statements:create_table:home|Overview]] | **[[dev:sql:statements:create_table:syntax|Syntax]]** | [[dev:sql:statements:create_table:examples|Examples]] | [[dev:sql:statements:create_table:home|Overview]] | **[[dev:sql:statements:create_table:syntax|Syntax]]** | [[dev:sql:statements:create_table:examples|Examples]] | ||
| - | |||
| ===== Syntax ===== | ===== Syntax ===== | ||
| Line 88: | Line 87: | ||
| The OPTIONS clause provides options specific to the table. The primary use of the OPTIONS clause is to provide information about a delimited file or an Omnidex Standalone Table. The following article on [[dev:sql:statements:create_table:delimited|delimited files]] gives specific instructions for use of this OPTIONS clause. | The OPTIONS clause provides options specific to the table. The primary use of the OPTIONS clause is to provide information about a delimited file or an Omnidex Standalone Table. The following article on [[dev:sql:statements:create_table:delimited|delimited files]] gives specific instructions for use of this OPTIONS clause. | ||
| - | === PHYSICAL <"filespec" | rdmbs_table> === | + | === PHYSICAL <"filespec" | rdbms_table> === |
| The PHYSICAL clause specifies the location of the data that comprises this table. The PHYSICAL clause varies according to the database type as follows: | The PHYSICAL clause specifies the location of the data that comprises this table. The PHYSICAL clause varies according to the database type as follows: | ||
| Line 419: | Line 418: | ||
| ==== index_group_specification ==== | ==== index_group_specification ==== | ||
| - | INDEX GROUP [ ( owner ) ] group ( index [, index ... ] ) | + | INDEX GROUP [ ( owner_table_name ) ] group_name ( index_name [, index_name ... ] ) |
| + | |||
| + | === INDEX GROUP ( owner_table_name ) group_name === | ||
| + | |||
| + | The INDEX GROUP clause is used to cause multiple indexes to be processed as a single indexes. When multiple indexes are grouped together, a search against any member of the group will automatically search the other members of the group. For example, if the columns ADDRESS1 and ADDRESS2 are combined into an Index Group, then a search for "MAIN STREET" will locate rows that have those two columns in either or both columns. | ||
| + | |||
| + | Index Groups can be created across multiple pre-joined tables; however, doing so requires using the CREATE INDEX GROUP statement. | ||
| ====== Additional Resources ====== | ====== Additional Resources ====== | ||