Providing Comparison Resources


After invoking the new comparison screen , providing the appropriate resources to be compared is the next step. DBChangeManager supports 2 types of comparison resources as discussed under Resources for Schema Comparison section which includes Live Databases and SQL Script files. You could provide any of these resources for doing the comparison. Two valid SQL Server database resources are required for doing a schema comparison, labeled hereafter as Resource 1 and Resource 2.

Providing Live Databases

If you are going to compare a live SQL Server database, Click on the 'Database' tab in the 'New Comparison' screen. Provide the following connectivity details:

If you had already used some databases as a resource it will be listed under the 'Registered Database'  area on the left. You could drag and drop any of the the listed registered databases to the right for autofilling under either Resource 1 or Resource 2.

Providing Script file

If you have your schema objects definitions available in SQL Server SQL script files you can choose this option. The Script files could have been hand written residing in the System or which were exported from the database using the "Export Database" utility. Click on the 'Script' tab in the 'New Comparison' screen and provide the following details:

Important Note: The script file could contain the definitions of any number of schema objects all separated with a GO SQL Server delimiter statement. Even if you have a single object definition it should contain a GO statement at the end.

Comparison Combination

You can compare any resource type against any other i.e. A live database could be compared against script files, and similarly we could have any resource combinations used for comparison.

Once you specify the required comparison resource, next you could set the necessary comparison options discussed in the next chapter.



Copyright © 2008, AdventNet Inc. All Rights Reserved.