Indexes, Primary Keys, or Unique Keys wizard (MySQL)
Go Up to [[MySQL object wizards{{#if:||{{{2}}}}}]]
The Indexes wizard, Primary Keys wizard, and Unique Keys wizard offer the same steps in creating these MySQL objects.
To create a new index, primary key, or unique key using a wizard
- Open a creation wizard for an index, primary key, or unique key. For details, see Opening an Object Wizard.
- Use the following topics as a guide to setting properties and performing tasks as you pass through the wizard panels:
- Properties panel. For details, see Indexes, Primary Keys, or Unique Keys - Properties.
- DDL View panel. For details, see Previewing the DDL Generated to Create the New Object.
- Click Execute to create the object. For more information, see Previewing the DDL Generated to Create the New Object.
Indexes, Primary Keys, or Unique Keys - Properties
When creating or editing an index, primary key, or unique key, this tab/panel lets you work with the following settings:
| Setting | Description |
|---|---|
|
Table Name |
Select the table on which you want to create the object. |
|
Index Name |
Provide a name of up to 64 alphanumeric characters. |
|
Constraint Type |
|
|
Index Storage Type |
|
|
Specify Columns in Index |
Columns are listed by name and datatype and whether or not they are nullable. As you check selections, the sort order is identified. |