You can use DB2 Web Query Tool to run SQL queries against any table in a DB2 or Informix 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 Tool navigation tree.
Fields and controls for the Database Connect page
To connect to a new database:
1. In the DB2 Web Query Tool navigation tree, click Connections.
The Connections drop-down menu appears.
2. From the drop-down menu, select Connect.
The Database Connect page appears.
3. Type your DB2 Web Query Tool user ID and password, select the database type, and type 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 that you specified.