Use the Compare: Report page to set compare session report options
To set compare session report options:
1. Open the Compare Session page, by clicking any query or result set and selecting Compare from the pop-up menu. The Compare: Setup page opens.
2. Click Options. The Compare: Options page opens.
3. From the Objects To Compare list, select the object pair for which you want to set options.
4. Specify which sections to include in the report by checking the appropriate check boxes. The Options are as follows:
· Check Data Type to return a report on differences in data type between matched columns.
· Check Length-or-Precision to return a report on differences in length or precision between matched columns.
· Check Keys to return a report on differences between the keys in the two tables.
· Check Nullable to return a report on differences in whether matched columns are nullable.
· Check Order to return a report on differences in column order between the paired objects.
· Check Number-Relative to return a difference report on which number value in a matched value pair is larger or smaller.
· Check String-Length to return a report on differences in string length between matching values.
· Check Date Time-Difference to return a report on differences in date and/or time between matched columns. If both fields are in date format, the difference is returned in days. Otherwise, the difference is returned in days, hours, minutes, and seconds.
Note: If you compare a date to a time or timestamp, you must check the Date-Assumetime option for a report in days, hours, minutes, and seconds. Otherwise, the report returns a difference for every pair of matched values.
· Check Number-Difference to return a report on the difference in value between number values in matched columns.
· Check String-Case to return a report on differences in case between string values in matched columns.
· Check Number-ABS to return a report on absolute value differences (positive or negative signs) between number values in matched columns.
· Check Date Time-Assumetime to compare a date to a time or timestamp. DB2 Web Query Tool will assume a default time of 12:00 AM for all date values, enabling a comparison. Otherwise, the report returns a difference for every pair of matched values.
· Check Date Time-Relative to return a report on which value in a matched date or time pair is earlier or later.
· Check Permissions Options to return a report on differences in the selected permissions between the paired objects. The Permissions Options that are available depend on the type of objects you are comparing.
· Check Type to return a report on differences in the data type between the indexes of the two tables.
· Check Uniqueness to return a report on differences in the unequeness of the indexes between the two tables.
· Check Order to return a report on differences between the column order the indexes of the two tables.
· Check Column Name to return a report on differences in the column names the indexes of the two tables.
5. Optional: Specify an e-mail address to which the report will be forwarded.
6. Click Generate.
7. DB2 Web Query Tool displays the Compare report in your browser.