SQL Server 2005 - Syncing development/production databases

后端 未结 6 1751
旧时难觅i
旧时难觅i 2021-01-06 09:48

I\'ve got a rather large SQL Server 2005 database that is under constant development. Every so often, I either get a new developer or need to deploy wide-scale schema change

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 10:42

    You could always just detach the database copy it then re-atach the db. This strategy only works if its not an issue for the "master" to be unavailable for a few minutes while the copy is carried out.

    This is obviously only a snapshot of the db at that moment in time, and if you're looking for a more dynamic solution you may want to look into replication.

提交回复
热议问题