SQL Source Control

Latest version: 3.1

SQL Source Control

Knowledge base

Using SQL Compare or SQL Changeset scripts with SQL Source Control

Date: 16/06/2011
Product: SQL Source Control

If you are already source controlling your database using SQL Changeset, or a scripts folder created by SQL Compare, you can migrate to SQL Source Control.

SQL Source Control uses the same folder structure as SQL Compare and SQL Changeset, but adds some metadata. So before you can use SQL Source Control to link to a database you have source controlled using one of these scripts folders, you must manually add a file to the scripts folder.

To migrate an existing scripts folder:

  1. Using your source control client, get the latest version of the database to a folder on your computer.
  2. In the root of this folder, create a new, empty text file. Name it RedGate.ssc
  3. Commit the file to source control.
  4. In SQL Source Control link the database to the scripts folder in source control.

Note that you can only do this if you have been source controlling object creation scripts. You cannot use a set of SQL Compare synchronization scripts with SQL Source Control.

For more information, see:

Was this article helpful?

Search support
Forums

SQL Source Control

all SQL products

all products