Note that there are some explanatory texts on larger screens.

plurals
  1. POIs it possible to use MS VS Database Project as a complete solution for database versioning?
    primarykey
    data
    text
    <p>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.</p> <p>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:</p> <ol> <li><p>How developers should implement theirs changes to db project? (Best practice)</p></li> <li><p>How to generate the 100% workable "latest version" deploy script without human intervention (skipping some objects, rewriting some changes, etc)?</p></li> <li><p>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).</p></li> </ol> <p>The "ideal solution" would be:</p> <ol> <li><p>Developers generates and maintains Database Project for database [ProductionDB].</p></li> <li><p>With new release I deploy Database Project to the [ProductionDB] with all necessary changes.</p></li> <li><p>Developers changes Database Project and writes some data manipulation scripts for concrete changes.</p></li> <li><p>With new release I deploy Database Project to the [ProductionDB] with all necessary changes.</p></li> </ol> <p>So, The final question: <strong>Is it posible to use Database Project for the purposes described above or somebody uses similar scenario/solution?</strong></p> <p>PS: I have already read following discussions:</p> <ol> <li><a href="https://stackoverflow.com/questions/56903/database-changes-versioning-closed">Database changes versioning [closed]</a> </li> <li><a href="https://stackoverflow.com/questions/173/how-do-i-version-my-ms-sql-database-in-svn1.2.">How do I version my MS SQL database in SVN?</a></li> <li><a href="https://stackoverflow.com/questions/2282191/looking-for-solution-for-database-versioning3.">Looking for solution for database versioning</a></li> <li><a href="https://stackoverflow.com/questions/308/is-there-a-version-control-system-for-database-structure-changes">Is there a version control system for database structure changes?</a></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload