Chapter 8: Creating Databases and Tables  Enforcing data integrity in databases

Chapter 8: Creating Databases and Tables

What are databases and tables?

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. You define how your data is organized when you create your databases and tables. This process is called data definition.

Adaptive Server database objects include:

This chapter covers the creation, modification, and deletion of databases and tables, including integrity constraints.

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 12, “Creating Indexes on Tables.”





Copyright © 2005. Sybase Inc. All rights reserved. Enforcing data integrity in databases

View this book as PDF