Online Documentation for SQL Manager for DB2

Database navigation


After you have registered the required database(s), the corresponding alias(es) appear in the DB Explorer tree on the left. If the Show Hosts option is checked on the Environment Options | DB Explorer page, the host nodes are also displayed in the tree (alternatively, you can use the Show Hosts item of the Database context menu, or the drop-down menu of the View Mode btnViewMode toolbar button for the same purpose).

 

Getting started - Database navigation

 

 

DB Explorer displays all registered nodes and databases. Connected/disconnected databases can be easily distinguished in the tree: aliases of disconnected databases are grayed out.

 

Getting started - Database navigation - Disconnected DB

 

 

To connect to a database, simply double-click its alias (or select the database alias in DB Explorer and press Enter). If the connection is successful, the database node expands into a tree of objects.

 

Now you can navigate within the database objects. Use SQL Assistant to get extended information about the currently selected object.

 

 

For your convenience objects having different status (e.g. enabled/disabled) objects are displayed with different icons in Database Explorer. Database Explorer also allows you to distinguish invalid database objects by their icons which are marked with a red cross. On the screenshot below the View 'view1' is marked as invalid because of some errors in its SQL definition, or the referenced table has been dropped from the database.

 

Getting started - Database navigation - Object status