DB Interface Module User’s Guide : PART II Using the Basic Features : Chapter 4 The Database Classes
Chapter 4 The Database Classes
Before You Log On
SourcePro DB lets you interact with your database using C++. The core classes of the DB Interface Module encapsulate SQL 92 Data Manipulation Language (DML) and Data Definition Language (DDL) constructs. In this chapter, we discuss the classes that encapsulate basic database constructs, primarily connections and tables. In Chapter 5, “The Data Manipulation Classes,” we discuss the classes that encapsulate basic data manipulation operations: SELECT, INSERT, UPDATE, and DELETE, and the related topics of stored procedures and cursors.
NOTE >> You must install your database client software and establish a working database connection before building SourcePro DB. See Installing and Building Your SourcePro C++ Products and “Database Connectivity” in this manual.
The example programs used in these chapters are listed in Table 5. If you are reading this manual online, click the number of an example to jump to the code:
 
Table 5 – Example programs of SourcePro DB  
Number of Program
Topic
Establishing connectivity
Reading a database table
Selecting from a single table
Performing a join
Unknown results from stored procedure
Using the asString() method