Comparing two SQL Server database schema in C#

前端 未结 4 1159
情深已故
情深已故 2021-02-09 02:25

I am releasing a newer version of my Windows application. There are DB schema changes in the new version. Also I do not want to lose the data.

So the approach that I ha

4条回答
  •  故里飘歌
    2021-02-09 03:14

    Create your Database Migration scripts and run them with a tool such as Db Up to keep track of schema changes. SQL Scripts migrate your database from version 1 to 2, 2 to 3, etc. Schema Compare is another option mentioned in a previous question.

    • Modify Customer Tables.sql
    • Update Settings.sql

提交回复
热议问题