~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/create_index.rst

  • Committer: Mark Atwood
  • Date: 2008-10-16 11:33:16 UTC
  • mto: (520.1.13 drizzle)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: mark@fallenpegasus.com-20081016113316-ff6jdt31ck90sjdh
an implemention of the errmsg plugin

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
 
.. code-block:: mysql
9
 
 
10
 
   CREATE INDEX table_1_index ON table_1 (a,b);
11
 
 
12
 
This would create an index on table_t named  table_1_index that convered
13
 
columns a and b.
14
 
 
15
 
.. todo::
16
 
   
17
 
   how this is implemented currently. i.e. no fast add index