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 3333016
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:45:00+00:00 2026-05-17T23:45:00+00:00

In our project we have several production databases and many devs. Each production database

  • 0

In our project we have several production databases and many devs. Each production database represents some “sub-project/localization version”. We use SQL Server 2008.

So, I need to develop database versioning strategy using MS Visual Studio Database Project.
I have read a lot of articles about database versioning and database projects, but I still have a lot of questions:

  1. How developers should implement
    theirs changes to db project? (Best practice)

  2. How to generate the 100% workable
    “latest version” deploy script
    without human intervention (skipping
    some objects, rewriting some changes,
    etc)?

  3. How to manage data changes with MS
    Visual Studio Database Project? I
    know about pre-/post-deploy scripts,
    but I think it cant resolve this
    problem. (Example: I need to remap
    some table into another).

The “ideal solution” would be:

  1. Developers generates and maintains Database Project for database [ProductionDB].

  2. With new release I deploy Database Project to the [ProductionDB] with all necessary
    changes.

  3. Developers changes Database Project and writes some data manipulation scripts for concrete changes.

  4. With new release I deploy Database Project to the [ProductionDB] with all necessary changes.

So, The final question: Is it posible to use Database Project for the purposes described above or somebody uses similar scenario/solution?

PS: I have already read following discussions:

  1. Database changes versioning [closed]
  2. How do I version my MS SQL database in SVN?
  3. Looking for solution for database versioning
  4. Is there a version control system for database structure changes?
  • 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-17T23:45:01+00:00Added an answer on May 17, 2026 at 11:45 pm

    Database project is precisely used for most of the reasons that you have mentioned here –

    1. Developers just checkout the database script files, make the changes, and check them back in. Mind you they will be changing .sql files and not directly the objects present in any dev database. So if you need to add two columns to a database table, you will modify the create table script for this table, and NOT write an alter script for this table.

    2. If you have the target old version DB schema – you can just deploy this project with the latest files to that database and a deployment script will get created (with the necessary alter statements). There is a project setting that allows you to opt whether the deployment script should also be run against the db when you ‘deploy’.

    3. The deployment script can be a deliverable that is separately tested against a prod copy and then applied to prod as a patch.

    About data manipulation scripts I am not very sure, however for all other purposes that you mentioned, a database project is perfect.

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

Sidebar

Related Questions

Our project is held in a SourceSafe database. We have an automated build, which
We have this constant discussion in our project as to the granularity of our
I have finally got the green light to use Memcached in our project (after
We are currently using unit tests to test our project. We have the majority
In our web application we have a directory which resides outside of the project.
I have been looking into IKVMing Apache's FOP project to use with our .NET
We have CC.NET setup on our ASP.NET app. When we build the project, the
for our project we need to set several PHP values depending on the environment
I have a C# Solution that includes several websites. Those websites have some communal
Most of our Eclipse projects have multiple source folders, for example: src/main/java src/test/java When

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.