Comparing Two Objects

You can run a Compare session between similar Web Query objects such as tables, queries, views, and results. You can include sections in your Compare report on Permissions, Structure, Data, and Index. You can view the generated Compare report in either text or HTML format.

To run a Compare report:

1.         In the DB2 Web Query Tool navigation tree, click one of the objects that you want to compare (such as table, query, view, or results set).

The associated drop-down menu appears.

2.         On the drop down menu, click Compare.

The Compare Session page appears. The object that you selected appears in the Source Objects list.

3.         In the DB2 Web Query Tool navigation tree, click the object that you want to compare the first object to, and select Compare from the drop-down menu.

The second object appears in the Source Objects list.

4.         Select the object pair that you want to compare by holding down the Control key and clicking the desired objects in the Sources Objects list.

5.         Click Add.

The object pair appears in the Object To Be Compaired list as a new compare session.

Tip:     If the Remove Paired check box is checked, the objects that you have paired to create a session are removed from the Sources list. If you uncheck the Remove Paired check box, the objects that you have paired to create a session are left in the Sources list.

6.         In the Session list, select the desired session and click Properties.

The Compare Session Properties page appears.

7.         Specify the session properties.

8.         Click Save.

DB2 Web Query Tool saves the session properties.

Tip:     To remember these properties as the default for all other sessions, click Save as Default.

9.         Click Options.

The Compare Session Options page opens.

10.      Specify the session options and click Save.

DB2 Web Query Tool saves the session options.

Tip:     To remember these options as the default for all other sessions, click Save as Default.

11.      Click Report.

DB2 Web Query Tool runs the Compare report. The Comparison Report page opens.

12.      Select the session that you want to view.

13.      Select an Output Format and choose which sections to include in the report.

14.      Optional: Specify an e-mail address to which the report will be forwarded.

15.      Click Generate.

DB2 Web Query Tool displays the Compare report in your browser.

Related Information:

·       Compare Session Options

·       Setting Compare Session Properties