Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The schema compare status in the Schema Compare Results tab is tool-dependent. 

Schema Synchronization Tool

When launched from the Schema Synchronization Tool, the progress panel contains progress details of the DDL statements for the selected and dependent objects and dependent objects of the selected schema objects.Image Modified

Schema Compare Tool

When launched from the Schema Compare Tool, the progress panel only contains progress details of the DDL statements for the selected objects. Image Modified

If you click Cancel this operation, the Schema Compare Results dialog is displayed. You can choose to cancel the current compare operation, abort and start a new compare, or continue with the existing compare operation.

...

In the Schema Compare Results tab, the objects you had selected in the Schema Synchronization Tool are grouped together according to their state. On choosing a row in the Schema Compare Results tab, the SQL Differences pane displays the DDL differences for both schemas in different color codes.

 
This table describes the columns in the Schema Compare Results tab.

ColumnDescription
State/Type

State is the color-coded result and Type is the object type that corresponds to the object in the Object Name column.

Depending on the option you choose from the Group by drop-down, Schema Compare displays state and type in the same or separate columns. For more information, see Group by.

Schema The schema name corresponds to the object in the Object Name column.
Object Name The object name in the schema.
Sync

The sync status for the objects.

Image Modified: Objects in the source and target schemas are not equal. To synchronize, select the checkbox next to each object.

Image Modified: Objects in the source and target schemas are identical. Identical objects cannot be synchronized.

Image Modified: An error occurred during schema compared as generating DDL statements for the object is not supported.

Image Modified: Object in the source and target schemas cannot be synchronized. 

You will not see this column if you have launched the Schema Compare Results tab from the Schema Compare Tool.  

Diff Count The number of differences in the script.

This table describes the color code and results for each state.

StateDescription
The source and target schema objects are equal.
The object exists in both the source and target schemas but they are different.
The object exists in the source schema but not in the target schema.
The object exists in the target schema but not in the source schema.

Toolbar Actions

This table describes the Toolbar actions in the Schema Compare Results tab.

IconDescription
Refreshes the schema compare result.

Allows changing data sources and adding or removing schema objects and schema options from schema compare.

When you click this icon, Aqua Data Studio retrieves a snapshot of the schema synchronization dialog cached in memory and launches the Schema Synchronization ToolSee Attachment. If data cached in memory is out-of-date, then Aqua Data Studio will show an error message for DDLs that could not be generated. Therefore, we recommend performing a refresh before editing the comparison result. 

Exports the schema compare result to HTML. You can preview the result in your default browser after Aqua Data Studio saves the file at the specified location.
Exports the schema compare result to Excel.

Compares data contained in the selected source and the target objects. You can only compare the data of a table or a view.

Filters schema objects.

Synchronizes schema objects you have selected from the schema compared result. For more information, see Schema Synchronization.

Info
The Schema Compare Results tab, when launched from the Schema Compare Tool, shows Synchronize Schema in a read-only state. On mouse-hover, a message is displayed in the tooltip, prompting you to launch schema synchronization if you want to use synchronize schemas

Displays schema objects by grouping them together according to their type of differences or lists schema objects alphabetically without grouping them. For more information, see Group by.

Allows searching for schema objects by object name, schema name, or schema object type. Supports a case-sensitive or case-insensitive search and search by match found options.
                   Image Modified

Allows expanding and collapsing the result view.

Info
This action is only available when you choose Type of difference action from the Group by drop-down list.

Allows multiple object selection (Image Modified), removal (Image Modified), and inversion (Image Modified) of the last action.

Info
You will not see these icons if you have launched the Schema Compare Results tab from the Schema Compare Tool.  

Refresh

When you click , Aqua Data Studio queries the target database to retrieve a new list of schema objects based on the object types specified in the Schema Compare Results tab. The refreshed result in the Schema Compare Results tab can be categorized according to these scenarios.

ScenarioExpected Result

The object existed in the source schema but not in the target schema.

The object should be displayed in both the source and target schemas.

The object existed in the target schema but not in the source schema.

The object will no longer be displayed in the Schema Compare Results tab.

Info
Dependencies of the source and target schemas are not included in the refreshed result.

...

You can apply type and state filters on the compared schema objects. To apply a filter, on the Schema Compare Results toolbar, click .  If you are viewing schema compare result in the Type of difference view, then you will only see Type Filter in the Schema Compare Filter window.

 If you are viewing schema compare result in the No Groups view, then you will see both Type and State filters in the Schema Compare Filter window.

...

This table describes the right-click actions for selecting schema objects for synchronization. Right-click action is not available in the Schema Compare Tool.

Right-Click ActionsDescription
Synchronize All ItemsSelects all schema objects for synchronization and launches the Schema Synchronization wizard.
Mark SelectedMarks selected schema objects.
Unmark SelectedUnmark selected schema objects.
Mark AllMarks all schema objects.
Unmark AllUnmark all schema objects.

View SQL Script Differences

On selecting an object, you can view the source and target differences in different color codes in the SQL Differences pane. The script differences are shown in the default viewer where the source and target scripts are positioned side-by-side.

If you change the default display to the Unified viewer, then each source schema is followed by a target schema. It merges the common information and highlights the differences between the scripts.

...

The colored blocks in the SQL Differences pane highlight the differences in the SQL script. The Default viewer displays colored blocks on the left and right scroll bars whereas the Unified viewer displays colored blocks on the right scroll bar.

Colored BlocksDescription
This block of SQL statements is different between the source and the target object.
This block of SQL statements is present only in the source object.
This block of SQL statements is present only in the target object.

If you want to change the default color codes, then on the Aqua Data Studio menu bar, click File > Options > Compare, and then choose the color code to change (Additions, Deletions, Changes).

...