Restriction: This topic applies to Windows environments only.
To change an index or key on a table in the current location:
- From the main menu, click
Run > Tools > Data Tools > SQL Option for DB2 > Client > SQL Wizard.
- If the Catalog Browser window is not open, click
to open it.
- On the Catalog Browser window, ensure the
Table tab is selected.
- Click the table you want.
- Click
Alter.
- In the
Indexes and Keys group, select the index or key you want to change from the list.
- Click
Alter.
- Make the changes you require.
- When you have finished, click
OK to close the Alter Index dialog box.
You can look at the SQL statements that will be used to make your changes by clicking
SQL.
- Click
OK to close the Alter Table window.