Use the options in the Complete Compare - Advanced Options Selection pane to select the generic compare criteria. The criteria that you select here apply to all the objects that you have selected so far. The options that you select here determine how you want to compare.
Follow these steps:
Closes the model that is created from the database or script, automatically when you end the compare session. The option to save the model is not displayed.
Copies the missing UDPs to the target model, when all the differences are due to missing UDPs. Complete Compare detects missing UDPs or property differences for common UDPs and displays the Type Resolution dialog before the Complete Compare session. Select this check box to skip the Type Resolution dialog when all the differences are due to missing UDPs.
Performs a case-sensitive compare. This option affects both the alignment of objects in the object tree and the equality of property values in the property pane. When the option is cleared, case is ignored for the purposes of alignment and equality testing of text property values.
Excludes unaligned model-level objects from the left model in the Resolve Differences dialog. Use this option as a filter to distinguish between changes in a model subset and a larger model of which the subset is a part.
Excludes unaligned model-level objects from the right model in the Resolve Differences dialog. Use this option as a filter to distinguish between changes in a model subset and a larger model of which the subset is a part.
Note: You can select both, Exclude Unaligned Objects in the Left Model and Exclude Unaligned Objects in the Right model to compare only the objects that are present in both the models.
Excludes blocks of comments from the body of a trigger, before including it in the compare process. If the only difference is in the comments, excluding comments enables Complete Compare to recognize that a trigger has not changed.
Includes objects for which the Generate check box in the property editor is selected. The Generate check box specifies whether you want to generate SQL for the object during forward engineering.
Matches by prefix table owner. When you select this option, objects are aligned based on both the name and owner name property.
Specifies that you want to select the active subject area by default in the Object Selection pane. Selecting a subject area by default simplifies the selection, especially in models that contain many subject areas.
Aligns objects according to both, the IN_TABLESPACE and IN_DATABASE properties, where applicable. This option is available only for the DB2 z/OS database server.
Matches by Database ID. This option is available for Informix, SAP ASE, and SQL Server database servers only. If the DB ID property is present, objects are aligned based on the property. Database IDs are present only in models that are reverse-engineered from a database. Select this property to compare a model with the same model that is reverse-engineered from a database.
Matches by object name. Relationship, index, and index members are aligned based on the name, in addition to the normal criteria used to align these objects. Use this property if the models that are being compared have the same named objects with different owners. In this case, you can compare to see if the two models are similar other than the owner or schema name.
Aligns objects that are based on the Object ID property, where applicable. This option is available for the DB2 z/OS database server only.
The options are saved and the compare process begins.
Compare the model in the left pane with the model in the right pane. View the differences at the object level, or more detailed property level. To resolve differences, move an object from one pane to the other. When you move objects, open models are updated in real time. After you finish resolving differences, generate ALTER scripts for any or both the models.
The following figure illustrates the model level comparison of Org and Org_New models:
The previous figure indicates that the author, model name, and target database are the same for both, Org and Org_New models. However, Org has the default theme and Org_New has the theme R1.
The following figure illustrates the Entity level comparison of Org and Org_New models:
The previous figure indicates that the attribute order does not match. The Org_New model has an additional attribute named Emp_Designation.
To view the comparison details of an attribute, expand an entity and select an attribute. The properties are displayed in the Property View pane.
The following figure illustrates the Attribute level comparison of Org and Org_New models:
The Property View section in the previous figure indicates that the logical data type for the Dept_ID field does not match.
The following figure illustrates the Table level comparison of Org and Org_New models:
The previous figure indicates that the schemas and the columns are different in the Employee table. In addition, the Column Order and Database Column Order are different in the Org_New model. Column Order indicates the order of columns that appear in the model and Database Column Order indicates the order of creating the columns.
The following figure illustrates the Column level comparison of Org and Org_New models:
Follow these steps:
When you click this icon, the rows are marked with the change indicator color and the change indicator symbol in the status column.
This filter is selected by default when the Resolve Differences dialog opens.
This filter does not affect property rows. This filter is selected by default when the Resolve Differences dialog opens.
This filter does not affect property rows. This filter is selected by default when the Resolve Differences dialog opens.
Use this feature to override automatic matching. You first select an object, click the match icon, then click an object or property with which to match the first object. The items then appear on the same line in the Object View. The toolbar buttons are available or unavailable (dimmed) depending on whether the action is available for the selected item.
The items then appear on separate lines in the Object View. The status of the selected item is changed, and the model is updated accordingly.
Click Finish to implement the changes in the models.
Notes:
To generate a comparison report, use the following steps:
The Report dialog opens.
Your report is generated and displayed in the chosen format.
To explain the differences, use the following steps:
Copyright © 2017 erwin Inc.
All rights reserved.
|
|