~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/create_index.rst

  • Committer: lbieber
  • Date: 2010-10-02 19:48:35 UTC
  • mfrom: (1730.6.19 drizzle-make-lcov)
  • Revision ID: lbieber@orisndriz08-20101002194835-q5zd9qc4lvx1xnfo
Merge Hartmut - clean up lex, now require flex to build, also "make lcov" improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CREATE INDEX
2
 
============
3
 
 
4
 
CREATE [UNIQUE] INDEX index_name [USING {BTREE | HASH}] ON table_name (column_name [length] [ASC | DESC], ...);
5
 
 
6
 
An example:
7
 
 
8
 
CREATE INDEX table_1_index ON table_1 (a,b);
9
 
 
10
 
This would create an index on table_t named  table_1_index that convered
11
 
columns a and b.
12
 
 
13
 
FIXME: how this is implemented currently. i.e. no fast add index