SQL Source Control
Latest version: 3.1
Notes & articles
Release notes - version 3.0
SQL Source Control is an add-in for SQL Server Management Studio that allows you to source control your databases.
Note that SQL Source Control is not a source control system; it allows you to store your databases in your existing source control system.
This article discusses:
Features in version 3.0
Version 3.0 of SQL Source Control introduces the following new features:
- Migration Scripts
SQL Source Control 3.0 enables you to create migration scripts between two versions of a database. Migration scripts are customizable change scripts that are committed to source control and re-used in deployment by SQL Compare.
This can be useful, for example, if you add a NOT NULL constraint to a column in development and want to deploy this change to another environment. If you try to deploy this change using SQL Compare, the synchronization script will fail if the target table contains data because a default value is required; you can specify this value using a migration script.
- Performance improvements
SQL Source Control 3.0 includes some underlying performance improvements, and further work on this is planned for the next release.
Our internal testing shows a 30% improvement in the speed of some operations.
Known issues in version 3.0
SQL Source Control version 3.0 has the following known issues:
- Migration scripts are not supported for all source control systems
Currently, you can only create migration scripts if you are using Subversion (SVN), Team Foundation Server (TFS), or Vault.
If your source control system is not supported, you can request support on the SQL Source Controlfeedback forum
- Migration scripts backward compatibility
If you have used any of the SQL Source Control early access releases, any migration scripts you created are not compatible with version 3.0.
- Getting the latest migration scripts
Migration scripts are not shown on the Get Latest tab. When you get the latest version, any applicable migration scripts are run automatically.
- Dependency checking in migration scripts
When you create a migration script, SQL Source Control does not check the script for dependencies.
You are recommended to ensure that all dependencies are included in the migration scrtipts you create.
Getting more information
Was this article helpful?
SQL Source Control
- Setting SQL Compare options within SQL Source Control
- "ICredentialsProvider is unset, therefore can't get" error occurring within SQL Source Control
- Linking fails due to SVN pre-commit hooks
- Logging changes to shared databases
- Object changed by Unknown
- Setting permissions for SQL Source Control
- Using SQL Source Control with Team Foundation Server 2012 or tfspreview.com
- Error: Failed to resolve no-ops after 5 tries
- Using SQL Compare or SQL Changeset scripts with SQL Source Control
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 Source Control
- Database development models
- Release notes - version 1.0
- Release notes - version 1.1
- Release notes - version 2.0
- Release notes - version 2.1
- Release notes - version 2.2
- Requirements & prerequisites
- Technical Overview
- Release notes - version 3.0
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

Step by step examples