What is the best way to manage database changes? I need to have a solutions regardless the database client’s language. Also I’d like to be able to use specific database features in those changes such as stored procedures, triggers and so on.
Share
First of all, make sure you have your entire Database Build scripted so you can rebuild the database if needed.
Each change should then be written as an Update script. That way you can run each change individually against the your databases.
Once the change has been commited to the codebase, merge the change script with the build process so it happens automatically…and then archive the change script in case any questions arise.