Working with tables

When you create a database, the only tables in it are the system tables, which hold the database schema.

This section describes how to create, alter, and delete tables from a database. The examples can be executed in DBISQL, but the SQL statements are independent of the administration tool you are using.

Creating tables in multiplex databases

For multiplex databases, all schema changes to be shared must be done on the write server. Follow these steps:

You may want to create command files containing the CREATE TABLE and ALTER TABLE statements that define the tables in your database. The command files allow you to re-create the database when necessary. They also let you create tables in a standardized way, which you can copy and revise.