Skip to main content
Creates indexes. You can create the following indexes: For detailed instructions and examples on creating these indexes, see the corresponding tutorials listed above. Tip This operation requires the ALTER privilege on the target table. You can follow the instructions in GRANT to grant this privilege.

Syntax

Parameter

Examples

Create a table sales_records as follows:
Create a bitmap index index3 on the item_id column of sales_records.

Relevant SQLs