Chapter 4. Database Objects
DB2 is a relational database that consists of one or more tables made up of rows and columns. The tables are created and accessed using the industry-standard Structured Query Language. Data in these tables is accessed via content, not location. This chapter looks at the structures in a DB2 subsystem and those that make up a DB2 database.
Many of these objects can be directly referenced from an SQL statement; therefore, it is important to understand their purpose. SQL is divided into three major categories.
As SQL has evolved, many new statements have been added to provide a more complete set of data access methods. The use of DDL to create database objects is discussed later in this chapter.