What is the best way to support update scripts between product versions? If the client starts working with version 3 of your product and switches to version 5, then what is the way to create a script update for the client so that all differences in the database schema between versions 3 and 5 are resolved?
1) Use a tool like RedGate Schema and Data Compare
2) Use the Visual Studio 2008 GDR Project
3) Write your own!
This has been discussed many times:
How to automatically update a deployed database for end users
(SQL Server)
SQL Server 2008 (MIgrations)?
Migrator.net, -, . , , SQL , :
create table upgradetable (major int, minor int, revision int, change text)
script :
select change from upgradetable where major > (select major from versiontable)
(, ).
, SQL, migrator.net
Wizardby, , . DSL , , - .
, . .
, , . , ETL SQL
, , , dbdeploy ruby. script , script, .
, , .
.
, ., , , , :. . (v3/v4).. . ( v3 v4).. v3 v4 v3 v5.. .
DBSourceTools (http://dbsourcetools.codeplex.com) , , .(v1).- 2., - .
, v1 v2.DBSourceTools , , script.
, .
Source: https://habr.com/ru/post/1708314/More articles:Runtime dynamic language and CLR - what is the point of DLR? - .netSaving JButton size in BorderLayout.CENTER - javaGenerate AES key with initial value - encryptionКак обновить стандарт Visual Studio 2008 до профессионала? - installation.NET tooltip control that can be displayed anywhere on the screen - c #How to automatically update a deployed database for end users - .netHow are threads created inside a COM component? - windowsDeleting a record in a table with foreign key relational tables - databaseкак я могу получить больше, чем пользовательский интерфейс для QMainWindow? - user-interfaceWhat good guides do you know about MySQL stored procedures? - mysqlAll Articles