You can use DB2 Web Query to run SQL queries against any table in a DB2 database. You can have connections to more than one DB2 database open at once. All current database connections appear at the top level of the DB2 Web Query navigation tree.
To connect to a new database:
1. In the DB2 Web Query navigation tree, click Connections.
The Connections drop-down menu appears.
2. From the drop-down menu, select Connect.
The Database Connect page appears.
3. Enter your DB2 Web Query user ID and password, select the database type, and enter the name of the DB2 database location to which you want to connect.
4. Click Connect.
A confirmation message appears. You are now connected to the database you specified.