A database stores information (data) in a set of database objects, such as tables, that relate to each other. A table is a collection of rows that have associated columns containing individual data items. When you create databases and tables, you are deciding the organization of your data. This process is called data definition.
Adaptive Server database objects include:
Tables
Rules
Defaults
Stored procedures
Triggers
Views
Referential integrity constraints
Check integrity constraints
Functions
Computed columns
Partition conditions
Columns and datatypes define the type of data included in tables and are discussed in this chapter. Indexes describe how data is organized in tables. They are not considered database objects by Adaptive Server and are not listed in sysobjects. Indexes are discussed in Chapter 13, “Creating Indexes on Tables.”