Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

Altering a table

The c-treeDB alter table function was designed and implemented to allow the modification of table, field and index properties after a table was created, and possibly already populated with data.

The usual steps to perform an alter table are:

  • Add, insert, delete or edit fields
  • Add, edit or delete indexes
  • Alter the table by calling CTTable::Alter() method

In This Section

Add, insert, delete, or edit fields

Add, edit or delete indexes

Alter the table

Default Values

Adding an index to a table

Deleting an index from a table

Forcing an index rebuild

Forcing a table rebuild

TOCIndex