Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Creating a New Table

Creating a new table may be one of the most crucial operations performed by a database developer or administrator. The c-treeDB .NET API offers a powerful, yet easy to use, mechanism for creating tables.

The create table process does not leave the table open after the table is created. The user must explicitly open the table to be able to add data records and query any of the table properties.

The create table process involves the following steps:

  • Allocate a new table handle
  • Add, insert or delete fields
  • Optionally, add, insert or delete indexes
  • Change any of the default table properties
  • Create the table

In This Section

Adding, Inserting or Deleting Fields

Field Types

Fixed or Variable Length Records

Hidden Fields

Adding or Deleting Indexes

Segment Modes

ROWID Index

RECBYT Index

Changing Default Properties

Creating the Table

Creating a Table Under Transaction Control

TOCIndex