Product Documentation

VCL/CLX Developers Guide

Previous Topic

Next Topic

Adding an index to a table

If you need to add one or more indexes to an existing table, perform the following steps:

  • Add the index by calling AddIndex(). Repeat this step for each new index.
  • Add, insert or delete index segments by calling AddSegment(), InsertSegment() or DeleteSegment() methods. Repeat this step for each segment of the index.
  • Call AlterTable() to add the new index

TOCIndex