You can compare a data model to a script file or database using Complete Compare. In this example you work with an open model in the workspace before you start the Complete Compare Wizard.
Note: You can start a Complete Compare session even if no models are open when you click Complete Compare, Compare on the Actions menu.
To compare a data model and a script file or database
The Complete Compare wizard opens, on the Right Model Selection pane.
The Allow Demand Loading option is selected by default. For this example, do not change the default.
The Reverse Engineer wizard opens.
The reverse engineering process runs, and your script file or database appears as an open model in the workspace, and is selected as the "Right Model" in the Complete Compare Wizard.
The two models are compared, and the Resolve Differences dialog opens.
Note: If you move objects or properties into your model based on the database or script file (the right model), you can generate an alter script or script file. Click the Right Alter Script/Schema Generation icon to open the Alter Script wizard.
You return to the Complete Compare Wizard. You can change any options in the wizard and begin the compare process again, or click Close to close the wizard.
The wizard closes and you return to the main workspace.
Note: An Advanced Option, "Auto-Dispose Database/Script Models" is selected by default. This means that the model reverse-engineered from your script file or database is automatically closed without saving at the end of the Complete Compare session.
Copyright © 2013 CA.
All rights reserved.
|
|