Comparing Project and Database Schema
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Search
OpenNavigationArticle
Sensitive Data Discovery Tool
OpenNavigationArticle
Open Navigation Article
Comparing Project and Database Schema
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Comparing Project and Database Schema

Comparing Project and Database Schema

When you open a saved project, SDDT compares the schema saved in the project against the current schema of the connected database. The comparison shows which tables and columns changed since the project was saved.

When Comparison Runs

If the schema has not changed, SDDT runs Analyze immediately. If the schema has changed, SDDT shows the comparison results and waits. Review the results, then click Continue to run Analyze.

What Happens to Saved Settings

The Analyze that runs after you open a project does not reset the algorithms saved in the project, whether the schema has changed or not. After you click Continue on a changed schema:

  • Current columns keep their saved algorithm.
  • Updated columns also keep their saved algorithm, together with the saved detected type and match score. Because the data type category of the column changed, the saved algorithm may no longer suit it. Review every Updated column manually.
  • Created columns get the algorithm suggested by the new analysis. If SDDT detects nothing sensitive in a Created column, the column gets Don't mask.
  • Table settings are restored from the project: the destination table, the column mappings, the Don't mask and Keep Identity check boxes, and which tables are selected for generation (the check box in the analysis grid).

Dropped tables and columns appear only on the comparison screen. They are highlighted and their check boxes are disabled. SDDT does not send them to analysis, so they do not appear in the grid. When you save the project, SDDT rebuilds it from the grid, so the saved settings of these items are deleted permanently.

The check boxes on the comparison screen are not the same as the check boxes in the analysis grid.

  • Comparison screen: the check boxes decide which tables and columns are carried into the analysis grid when you click Continue. Items you clear do not appear in the grid, and their saved settings are lost the next time you save the project.
  • Analysis grid: the check boxes decide which tables are generated. SDDT saves this selection in the project. Tables that are already in the project get the saved value. New tables start cleared.

A table you select on the comparison screen appears in the grid, but SDDT generates it only if you also select it in the grid.

Comparison Results

Created

SDDT marks a table or column as Created when it exists in the database now but was not part of the saved project.

Dropped

SDDT marks a table or column as Dropped when it was part of the saved project but no longer exists in the database.

Updated

SDDT marks a table as Updated when the table exists in both the project and the database, but the data type category of at least one column differs, or a column was added or dropped within the table. SDDT marks a column as Updated when its data type category differs from the category saved in the project.

Current

SDDT marks a table or column as Current when it is unchanged since the project was saved.

Renamed Tables and Columns

SDDT matches tables and columns by name, so it does not detect a rename as a rename. A renamed table or column appears as one Dropped entry for the old name and one Created entry for the new name.

What Is Compared

SDDT matches a table by its full table name, then matches a column within that table by column name. Matching is case-insensitive.

For a matched column, SDDT compares only the column's data type category, such as Text or Integer. It does not compare the exact database type, the size or length, nullability, identity, or primary key or foreign key status.

A column is marked Updated only when its category changes, for example from Text to Integer. Changes within the same category are not detected. For example, varchar(50) to varchar(200), or int to bigint, leave the column marked Current. If you changed a column in a way SDDT does not compare, review its algorithm and destination mapping manually.

About Hush-Hush Contact Us

E-mail: info@mask-me.net

tel: 855.968.4874

Privacy Policy Terms of Use