An index is a database object that enables quick information retrieval from a table. OpenEdge SQL employs a B-tree index, which organizes data in ascending or descending order. For every entry in the index table there is a corresponding entry in the database table to which it is associated. This speeds a query because it is more efficient to locate a row by searching a sorted index than by searching an unsorted table. This type of index is ideal for searching for a single value or a range of values.
To create or drop index information, use the
CREATE INDEX and
DROP INDEX statements. For information on working with indexes to optimize query performance, see
OptimizingQuery Performance