~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/create_index.rst

  • Committer: Brian Aker
  • Date: 2010-08-09 18:04:12 UTC
  • mfrom: (1689.3.7 staging)
  • Revision ID: brian@gaz-20100809180412-olurwh51ojllev6p
Merge in heap conversion, and case insensitive patch, and remove need for
M_HASH in session.

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