Chapter 5. Database Objects

• CREATING DATABASE OBJECTS

• DATA TYPES

• TABLES

• CONSTRAINTS

• VIEWS

• INDEXES

The standard language of relational database access is SQL (Structured Query Language). SQL is not a conventional programming language. It was designed for the purpose of accessing tabular data. Every Relational Database Management System (RDBMS) implements a slightly different version of SQL.

In this chapter we examine the DB2 implementation of the SQL language. If you are familiar with other RDBMS products, you will already understand many aspects of the DB2 implementation of SQL thanks to the industry acceptance of the ISO®/ANSI® SQL standard.

We first examine the DB2 database objects that can be referenced in an SQL statement; then, ...

Get DB2® 9 for Linux®, UNIX®, and Windows®: DBA Guide, Reference, and Exam Prep, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.