CREATE INDEX
The CREATE INDEX
statement creates a sorted, hash, or bitmap index for a given map.
|
Syntax Summary
This code block is a quick reference with all the parameters that you can use with the CREATE MAPPING
statement.
See some practical examples.
Parameters
The CREATE INDEX
statement accepts the following parameters.
You must provide the following:
-
index_name
-
map_name
-
attribute_name
Parameter | Description |
---|---|
|
Create a new index only if an index of the same name does not already exist (recommended). |
|
Name of the index. This name must be unique. The |
|
Name of the map to index |
|
Names of the map’s fields to index. The |
|
One of the following index types:
For details about these index types, see Indexing Maps. |
|
Configuration options for
For details, see Bitmap Indexes. |
Permissions
Enterprise Edition
If security is enabled, you can grant or deny permission for certain clients to use this statement. See SQL Permissions.