Previous |
Next |
To change an index, use either the SQL Developer tool Edit Index or the DDL statements DROP
INDEX
and CREATE
INDEX
.
This tutorial shows how to use the Edit Index tool to reverse the sort order of the index EVAL_JOB_IX
(created in "Tutorial: Adding an Index with the Create Index Tool"). The equivalent DDL statements are:
DROP INDEX EVAL_JOB_ID; CREATE INDEX EVAL_JOB_IX ON EVALUATIONS (JOB_ID DESC) NOPARALLEL;
To reverse the sort order of the index EVAL_JOB_IX using the Edit Index tool:
On the Connections tab, expand hr_conn.
Under the hr_conn
icon, a list of schema object types appears.
Expand Indexes.
A list of indexes appears, including EVAL_JOB_IX
.
Right-click EVAL_JOB_IX.
A list of choices appears.
Click Edit.
A list of choices appears.
Click Edit Index.
The Edit Index window opens.
In the Edit Index window, change Order to DESC
.
Click OK.