sql - How the schema migration tools work? -


i have db based application , delete schema & db content every time whenever there changes in schema. in development mode. release application in production. suspect there many changes after release application in production use. software shall installed on many locations across globe. (not web based app)

how schema migration tool work in case? or how can use them in typical database based applications suspect changes in schema?

download redgate tools , find out. believe have trial periods , i'm sure sql compare does.

typically, point them 2 databases , list out of differences between two. can configure them ignore things, comments, constraint names, etc. there can select items want synchronize , in direction , tool either generate script or make changes you.

in situation generate script , use basis send customers or include in install scripts. keep database each version of application , can generate scripts go 1 version pointing @ 2 databases. can keep them empty (or fill lookup tables) don't take space.

you can use sql data compare keep lookup tables synchronized. use lookup tables though, not actual main data tables.

no matter route go, you're going have custom coding, either because need convert data while changing structure or similar reason.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -