Connecting to IBM Db2 Warehouse

You can use command-line interfaces to connect to the database and perform administrative tasks. You can also connect your IBM® or third-party applications to the Db2 Warehouse database.

Connecting to perform administrative tasks

The command-line interfaces for performing administrative tasks on the Db2 Warehouse database include the following ones:

Connecting your IBM or third-party application

To connect your application to the database, use one of the following mechanisms, which are listed in priority sequence:
  1. The dashDB connector that comes with the application.
  2. The DB2® connector that comes with the application.
  3. An IBM-supplied driver. The IBM Data Server Driver Package, also known as the Db2 or dashDB driver package, provides a variety of drivers, including JDBC, ODBC, CLI, and .NET. The ODBC and JDBC drivers are preferred because ODBC and JDBC are the most generally supported methods. For information about the driver, see Db2 driver package.