Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6534957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:18:50+00:00 2026-05-25T10:18:50+00:00

How can I track changes to a development database and apply those changes to

  • 0

How can I track changes to a development database and apply those changes to a production database (SQL Server 2008)?

I keep a local copy of a database on my development server, and as I’m adding new features, I may add new tables or change field and table names in the database. What’s a good way to track such changes and then apply them to the main database?

Is there some way to do a “diff”-like operation between two databases and merge definition changes?

I considered merge-replication, but I’m not sure how well than handles schema changes. For example, here: http://technet.microsoft.com/en-us/library/ms151870.aspx it mentions that I basically cannot use SSMS to make definition changes, because it drops and recreates tables, which is not allowed for published objects.

A smart piece of software could compare column counts, types, positions, and apply other fuzzy matching/logical deduction methods to figure out that a table was renamed or a new table was added or a column name changed, after which it could present the differences to the user for confirmation and automatic application.

Does anything like what I’ve described above exist, or am I stuck remembering to save DDL statements in SSMS and running them manually in the production database?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:18:51+00:00Added an answer on May 25, 2026 at 10:18 am

    Maybe you need a migration tool like (for example) FluentMigrator, which helps you track database changes in source code.

    Here is a tutorial from the original author of Fluent Migrator, explaining what Fluent Migrator is, why you might need it and how it works.

    Another alternative would be what you already mentioned:

    A smart piece of software could compare column counts, types,
    positions, and apply other fuzzy matching/logical deduction methods to
    figure out that a table was renamed or a new table was added or a
    column name changed, after which it could present the differences to
    the user for confirmation and automatic application.

    I never tried it myself, but I’ve seen lots of recommendations for Redgate SQL Compare (which apparently does exactly what you asked for) here at Stack Overflow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I track the memory allocations in C++, especially those done by new
A fairly common requirement in database applications is to track changes to one or
I'm extending IList so I can track the changes made to the list (updates,
Can fogbugz track case dependencies?
Seems like as really simple thing to do, but I just can't track it
I'm pretty new to database development in general and I've never used ORM before.
I want to set up a production and development environment for a wordpress website.
Currently my website (production server) already have a lot of code in it. And
We're building a PHP site and are using a SVN system to track changes.
I'm trying to track and analyze changes to a received signal due to changes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.