SQL Data Compare
Latest version: 10.0
Notes & articles
SQL Data Compare release notes - version 8xx
Version 8
SQL Data Compare Version 8.0 is a major release introducing support for static data in scripts folders, user interface and command line enhancements, and bug fixes.
This article provides information about:
- new features in SQL Data Compare 8.0
- working with scripts folders
- Command line syntax changes
- known bugs and issues in version 8.0
- where to get more information
For detailed information and examples, see the SQL Data Compare web help
New features
SQL Data Compare 8.0 introduces the following features:
- The ability to store static data in scripts folders
SQL Data Compare 8 allows you to store data scripts in a scripts folder, making it easier to keep databases under source control.
- The ability to share projects with SQL Compare
To open a SQL Data Compare project in SQL Compare, on the Projects dialog box, select a project, right click, and click Launch in SQL Compare.
Alternatively, to open the current project in SQL Compare, click the SQL Compare icon on the toolbar of the main window.
You can open a SQL Compare 8.1 (or later) project in SQL Data Compare 8.0 or later.
You can open a SQL Data Compare 8.0 (or later) project in SQL Compare 8.1 or later.
- Multiple transactions in the synchronization script
In previous versions, the synchronization can be enclosed in a single transaction. This allows rollback, but can result in poor performance for large databases. In SQL Data Compare 8.0 you have the option to use multiple transactions. You can specify the amount of data included in each transaction using the Application Options.
- User interface refinements
SQL Data Compare 8.0 includes many of the user interface improvements made for SQL Compare 8, bringing the workflow of the two products closer together.
- Command line changes
The command line interface now supports column-level inclusion and exclusion. There are changes to the behaviour of some existing switches and options.
- Stability and performance improvements
SQL Data Compare 8.0 addresses some known stability issues. There are now fewer Out of memory errors when comparing large databases.
Working with scripts folders
A scripts folder is a set of SQL scripts representing a database's schema and data.
For the schema, each object's creation script is saved as a file.
For the data, an insert script is created for each table. A metadata file that allows SQL Data Compare to compare the scripts is also created. The metadata file has the extension .sdcs
When using scripts folders, note that:
- Scripts folders created using SQL Compare version 8.0 and below are not supported.
To accommodate static data, the structure of scripts folders has changed. SQL Data Compare can only be used with script folders it creates, or that are created by SQL Compare 8.1.
If an invalid folder is used, the message Scripts folder metadata file incomplete is displayed, and you are recommended to re-create the schema scripts using SQL Data Compare.
- Views are not supported.
Scripts folders can only represent data in tables.
- filtering with a WHERE clause is partially supported.
For scripts folders, on the Tables and Views tab of the Project Configuration dialog box, you can use a WHERE clause to restrict which rows are compared. However, only one of the data sources can be a scripts folder. If you are comparing two scripts folders, a WHERE clause cannot be used.
- Scripts folders must contain schema scripts.
SQL Data Compare cannot create, compare, or synchronize data scripts if the associated schema scripts are not present in the folder. The schema scripts must be created by SQL Data Compare or SQL Compare 8.1.
- SQL Data Compare does not support user-created sql scripts.
SQL Data Compare can only compare and synchronize a scripts folder if the files in that folder were created by SQL Data Compare, or SQL Compare 8.1
- You are recommended not to edit a SQL Data Compare script file.
If you edit the contents of a scripts folder, the comparison and synchronization may fail or produce unexpected results.
- You are recommended to use SQL Data Compare to synchronize databases with scripts folders.
If you run the scripts manually, they may fail or produce unexpected results.
- You are recommended not to delete or modify the .sdcs metadata files created by SQL Data Compare.
These files contain index information that enables SQL Data Compare to compare and synchronize scripts folders. You will encounter poor performance if valid metadata files are not present in the scripts folder.
Other known issues
- Project compatibility
You can open a SQL Data Compare 7, 6, or 5 project in version 8. Projects from earlier versions are not supported.
You cannot open a SQL Data Compare 8 project in earlier versions.
If you open and save a project in SQL Data Compare 8, it is converted to version 8 and cannot be opened in earlier versions.
You can open a SQL Compare 8.1 (or later) project in SQL Data Compare 8.0 or later.
You can open a SQL Data Compare 8.0 (or later) project in SQL Compare 8.1 or later.
- Performance
If you are using a scripts folder as a data source, and the folder contains a lot of data, the comparison may be slow.
- Installing in a 64 bit environment
There is a known issue that, in some cases, when installing in a 64 bit environment, the installer displays incorrect progress messages. However, the installation proceeds normally.
If an earlier version of SQL Data Compare is installed, and you install version 8.0, the two versions are installed side by side. This is confirmed by progress messages in the installer. However, in a 64 bit environment, a successful side by side installation mistakenly shows progress messages for a clean install. In these cases, SQL Data Compare 8 is installed, and previous versions are unaffected.
- Option to launch SQL Compare disabled
The toolbar of the Comparison Results screen and the right click menu of the Projects dialog box show the option to launch a project using SQL Compare. This functionality is only compatible with SQL Compare version 8.1, and later.
- SQL Compare 8.0 shows parser errors for data scripts
If you are using a SQL Data Compare 8 scripts folder with SQL Compare 8.0, the Error Parsing Scripts dialog box is displayed each time you compare the data sources.
This is because SQL Compare 8.0 does not parse the INSERT statements used to store static data. However, SQL Data Compare scripts folders are supported by SQL Compare 8.1
This potentially leads to a large number of errors. In most cases, these errors can safely be ignored.
If you encounter any issues not documented here, or if these issues have unexpected consequences, you are recommended to contact support, or post a detailed description of the error you encountered in the SQL Data Compare 8 support forum
Command line syntax changes
In SQL Data Compare 8, there are changes to the names and functions of some command line switches and options, as well as their aliases.
The command line syntax of previous versions of SQL Data Compare is considered deprecated, but continues to be supported.
For example, in SQL Data Compare 7, the alias for /BackupSet1 was /bs1. In SQL Data Compare 8, the alias is now /bks1. You can continue to use /bs1 in SQL Data Compare 8, but a message is displayed informing you of the new alias.
Deprecated command line syntax will cease to be supported at a future release.
For detailed information on the changes to the SQL Data Compare command line, see Changes to the command line in SQL Data Compare 8
Getting more information
For more information, see:
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