SQL Source Control - 2.2

SQL Source Control

Learning SQL Source Control - 2.2

Viewing source control logs / history

You can use SQL Source Control to view the log or history information for a database or database object from within SQL Server Management Studio.

To view the logs / history, in SQL Server Management Studio, in the Object Explorer, right-click the database or object and click Show History:

The History dialog box is displayed:

The History dialog box shows:

  • Each version; this is the SVN revision, or TFS changeset
  • The author, date, and comment associated with each commit
  • Which objects changed in each commit
  • The SQL differences for each object

You can use the History dialog box to get a specific version of the database

Note that you cannot view history information for databases linked to source control using command line support.

See also

Linking a database to source control

Committing changes

Source controlling data

Getting the latest version

Getting a specific version

Deploying a database from source control

Undoing changes

Conflicts

Using SVN bug IDs & TFS work items

Working with config files

Using filters to exclude objects

Branching and merging

Was this article helpful?

Search support
Forums

SQL Source Control

all SQL products

all products