SQL Data Compare - 9.0
Viewing the row differences - SQL Data Compare
The lower (Row Differences) pane displays a side-by-side listing of values for the tables and views you have compared. To display the lower pane, click a table or view in the list of tables.
By default, all rows with differences are selected for synchronization. Use the Include check boxes to include or exclude the rows.
Rows that contain differences are displayed with a shaded background |
|
Values that are different are displayed with a darker shaded background |
|
Values that exist in one database but do not exist in the other are displayed with a shaded, patterned background. |
In the example above, for the row where WidgetId is 2:
- Description is the same in both databases so the data is displayed in gray text
- The Picture values are different so they are displayed with the darker shaded background
WidgetID is the comparison key.
Shading on the column names also indicates differences. A column name with full shading indicates values that are different; a column name with partial shading indicates values that only exist in one of the data sources. In the illustration above, the Picture column contains values that are different so the column name is displayed with full shading.
Note that:
- The lower (Row Differences) pane cannot display values for tables or views that could not be compared.
For more information, see Tables and views that cannot be compared
- If you have cleared the Show identical values in results project option, SQL Data Compare does not show rows that are identical and a warning symbol
is displayed. - If you have selected the project option Compress temporary files, you will be unable to sort the comparison results by clicking on a column header.
For more information, see Setting project options
Searching the data
To search the values, in the Find box, type your search text, then click
or
to find the next or previous match. If the Find box is not already displayed, right-click and click Find.
Viewing the object synchronization script
To view the synchronization script for the selected object, right-click in the SQL Differences pane, and then click Show Object Synchronization Script.
The Single Object Synchronization Script dialog box is displayed.
You are recommended to synchronize only using the full synchronization script created by the Synchronization Wizard, because the single objects script cannot account for dependencies. If you use the object synchronization script to synchronize a single object, there may be unexpected results, or the synchronization may fail.
To view the synchronization SQL that will make all the selected tables and views in the two data sources identical, use the Synchronization wizard.
Pivoting the data
To rotate the data so that you can view the values for a record as a group, click Show, and select Pivot View ; the values are displayed vertically. This is useful when there are a large number of columns in a table.
Note that you cannot change the sort order of the columns when you are viewing the data in the pivot view.
To scroll through the records, hold down SHIFT and rotate the mouse wheel.
To show the next or previous difference, use the arrow buttons or press the shortcut keys; the values that differ are shown with a green background.
Viewing the data
The Viewer dialog box displays value details.
For more information, see Viewing the data.
See also |
Was this article helpful?
SQL Data Compare
- Logging and log files
- Internal Connection Fatal Error in versions 4 and 5
- NULL textptr passed to UPDATETEXT function when running synchronization
- How much free hard disk space is required?
- Comparing the data of two tables in the same database
- Suggestions to combat comparison and synchronization performance issues
- SQL comparison and synchronization automation capabilities
- SqlNullValueException occurring in synchronization wizard
- SQL Data Compare command-line XML argument file examples
- Using Windows authentication logons between domains
- Using a filter on a column on related (joined) tables
- Determining minimum database permissions for SQL Data Compare
- Tables with compound keys may not be mapped automatically
- Best practices for synchronizing data
- Cleaning up a SQL script after SQL Compare or SQL Data Compare
- Troubleshooting System.OutOfMemoryException during comparison
- Exception thrown by db reader 1
- Reseed applying "incorrect" identity values
- Running migration scripts using SqlCmd.exe
- This SQL Server has been optimized for x concurrent queries.
- SQL Data Compare showing differences in 2 identical databases
- How to force SQL Compare and SQL Data Compare to use an Encrypted Connection
- Improving the performance of SQL Data Compare
- Logging and log files
- Case-sensitive comparisons
- Tables or views that could not be compared
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Data Compare
- Activating your products
- Activating your products
- Getting help offline
- Getting better performance out of SQL Data Compare
- Release notes - version 10.xx
- SQL Data Compare release notes - version 7.xx
- SQL Data Compare release notes - version 8xx
- SQL Data Compare release notes - version 9.xx
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs



Using SQL Data Compare