Compare Foreign Keys
The "Compare Foreign Keys" option allows comparing foreign keys, defined for the specific table
Before you execute comparison:
- Set-up Comparison and check SQL Vendor Specific Options
- Check Convert Master check box (under the main tool bar) on the Source database side. See Conversion Rules
- On both sides (trees), Connect to Database (one database on each side)
- Expand Tables node on both Database Connections (one connection on each side)
- On each side select the table you want to use
To compare the foreign keys:
- Right-click on table name (on one of sides)
- From the mouse menu, select Compare->Foreign Keys
OR
From the mane menu select
Compare->Table/View Foreign Keys
OR
Use Compare Table/View Foreign Keys icon from the tool bar
OR
Drug one table onto another and use Compare Foreign Keys menu
If Comparison Options configured to save the result to the output file, you will be asked to provide the file name. For more information, see Comparison Options
Understanding the Comparison report:
- If Foreign Keys, defined for the tables, are identical, only the information message is returned
- If the tables have different foreign, "Foreign Keys Differences" dialog will open
Grid contains lines with different colors:
- Red font – different foreign keys
- Blue font – foreign key defined only for one table
- Black font – identical information
To become familiar with Comparison Differences dialog manipulations, see Comparison Differences dialog
See also: