~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/create_index.rst

  • Committer: Monty Taylor
  • Date: 2008-12-06 22:41:03 UTC
  • mto: (656.1.7 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: monty@inaugust.com-20081206224103-jdouqwt9hb0f01y1
Moved non-working tests into broken suite for easier running of working tests.

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