Connecting Excel to IBM Db2 Warehouse
These instructions explain how to connect Microsoft Excel 2010 to Db2® Warehouse.
Before you begin
Before you can connect to your database, you must carry out the following steps:
You must
have the Db2 driver package or the IBM Data Server Driver Package installed on your local computer.
-
Verify prerequisites, including installing driver packages, configuring your local environment, and downloading SSL certificates (if needed)
-
Collect connect information, including database details such as host name and port numbers, and connect credentials such as user ID and password
Restriction: Connections between Excel and IBM Db2 Warehouse are supported on only the Windows operating system.
Procedure
- In the web console, go to the Run SQL page.
- Type one or more SELECT statements in the editor text box.
- Click one of the Run options.
- Click Excel ODC File.
- Download and open the BLUExcel.odc file
in Excel. If a security notice is displayed, click Enable.
- Click Open to connect to the Db2 Warehouse database. The Connect To DB2 Database dialog box opens.
- Type the user ID and password that you use to log in to Db2 Warehouse. To obtain the user ID and password, click Connect in the web console or in the web console.
- Ensure that the connection mode is
Share
, and then click OK.