Your browser does not support JavaScript. This help page requires JavaScript to render correctly. Tutorial: Changing an Index with the Edit Index Tool
Skip Headers
Previous
Previous
 
Next
Next

Tutorial: Changing an Index with the Edit Index Tool

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:

  1. On the Connections tab, expand hr_conn.

    Under the hr_conn icon, a list of schema object types appears.

  2. Expand Indexes.

    A list of indexes appears, including EVAL_JOB_IX.

  3. Right-click EVAL_JOB_IX.

    A list of choices appears.

  4. Click Edit.

    A list of choices appears.

  5. Click Edit Index.

    The Edit Index window opens.

  6. In the Edit Index window, change Order to DESC.

  7. Click OK.

Related Topics

Oracle Database SQL Language Reference

Managing Indexes