Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Usage » Working with Database Objects

Erasing a database Next Page

Working with tables


When a database is first created, the only tables in the database are the system tables. System tables hold the database schema.

This section describes how to create, alter, and drop tables. You can execute the examples in Interactive SQL, but the SQL statements are independent of the administration tool you use. See Editing result sets in Interactive SQL.

To make it easier for you to re-create the database schema when necessary, create command files to define the tables in your database. The command files should contain the CREATE TABLE and ALTER TABLE statements.

For more information about groups, tables, and connecting as another user, see Referring to tables owned by groups, and Database object names and prefixes.


Creating tables
Altering tables
Dropping tables
Browsing the data held in tables
Managing primary keys
Managing foreign keys
Working with computed columns
Copying tables or columns within or between databases