Connecting to Databases

From InterBase

Go Up to Working with Databases


Connecting to one or more databases is a four-step process:

  1. Creating and initializing a database handle for each database to be attached.
  2. Creating and populating a DPB for each database to be attached.
  3. Optionally calling isc_expand_dpb() prior to actual attachment to add more database parameters to a populated DPB.
  4. Calling isc_attach_database() for each database to which to connect.

These steps are described in the following sections of this chapter.

Topics

Advance To: