SQL Source Control uses the SQL Compare engine to compare databases. For more information, see the How SQL Source Control works behind the scenes.
The default SQL Source Control options work well for most situations. However, your particular database or working practices may require you to change some SQL Source Control engine options.
To do this:
- In the Object Explorer on the left, select the database you want to set the options for.
In SQL Source Control, in the Setup tab, right-click the Linked to database path, and select Edit Comparison Options.
The Edit Database Compare Options dialog opens:
To turn on the SQL Compare engine options you want to use, set them to
True. To turn them off, set them to
Click Save Options.
The options are saved for your database.
Sharing the options with your team
After saving, the options are only saved for your machine.
- If your team uses the shared database model, the options will be applied to everyone else working on the database when they refresh or go to the Commit or Get latest tabs.
- If your team uses the dedicated database model, you can share the options with other people working on the database by committing the change to source control.
To share the options:
Go to the Commit changes tab.
The change is shown waiting to be committed:
- Make sure the options change is selected, and click Commit.
Your change is committed. Other people on your team can get your option changes in the Get latest tab. This makes sure everyone works with the same options.
By default, the following options are enabled: