Adding a Filter

 

You can limit or expand the objects that are displayed in the navigation tree. You can filter the tree by object groups or object name. Filters apply to all current connections.

To add a filter:

1.         Click any item in the DB2 Web Query Tool Navigation Tree.

A drop-down menu appears.

2.         From the drop-down menu, select Filter.

The Filters page opens. Any active filters are shown in the Filter list. All available Authorization Ids are shown in the AuthID list. All known schemas are shown in the Schemas list.

Note:

In order to view objects in the DB2 Web Query navigation tree, the Auth ID (SQL ID) on which you filter must be able to select from the following tables: sysibm.systables, sysibm.systabauth, sysibm.sysuserauth, otherwise the navigation tree will be empty.

 

3.         Select the authorization ID on which you want to filter from the AuthID list. You can add an authorization ID to the AuthID list by typing that ID in the AuthID field and clicking Add.

4.         From the Schemas list, select the schema on which you want to filter. You can add a schema to the Schemas list by typing the schema name in the Schemas field and clicking Add.

Tip:      If you want to filter on a specific database object and you are unsure of which schema it is in, you can use % as a wildcard character in the schema filed an type the name of the database object in the Name field.

5.         Ensure that all of the filters that you want to be applied appear in the Filter list.

6.         Click Update.

DB2 Web Query Tool filters the tree according to the criteria that you specified.

Note:     All objects that match any of the active filters appear in the navigation tree. An object matching only one of several active filters is still displayed.