Connecting to Databases
Connecting to one or more databases is a four-step process:
- Creating and initializing a database handle for each database to be attached.
- Creating and populating a DPB for each database to be attached.
- Optionally calling isc_expand_dpb() prior to actual attachment to add more database parameters to a populated DPB.
- Calling isc_attach_database() for each database to which to connect.
These steps are described in the following sections of this chapter.