DBCOMPARE

Purpose
This utility is used to compare the schema of two databases.

What it does
1. Displays structure of a selected table.
2. Compares structure of a selected table against the corresponding table in a second database.
3. Matches and compares the structures of all tables in two selected databases.
4. Allows user to drill down into the details of structure definitions.

Databases are defined either by means of the BDE alias or a directory.

The utility compares table structures by comparing
* Fields (Type and size)
* Indexes (Fields, options)
* Referential Integrity Checks (Type, other table, field, other field)
* Validity Checks (Required, Min, Max, Default) Picture masks are not compared.

The results of the comparison are reported as:
1.  No match
2.  Different
3.  Same

How to use it
1. Set the database directory or alias for each of the two databases.
 
2. To show the structure of a table click on the selected table in a list box then click on the "Show Table" Button.
 
3. To compare the structure of a selected table with the corresponding table in the second database click on the selected table in a list box then click on the "Compare Table" Button.
 
4. To compare all the tables click on the "Compare Databases" button. A comparison list box will appear. To drill down into the details of double click the comparison. To drill down another level double click again.

Version Info
This version requires the BDE that ships with Delphi 3. It will not work with Delphi 2 BDE.
